We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a21cff commit e87651cCopy full SHA for e87651c
example/std_example.rs
@@ -111,6 +111,17 @@ fn main() {
111
112
let kind = Nums::NegOne;
113
assert_eq!(-1i128, kind as i128);
114
+
115
+ let options = [1u128];
116
+ match options[0] {
117
+ 1 => (),
118
+ 0 => loop {},
119
+ v => panic(v),
120
+ };
121
+}
122
123
+fn panic(_: u128) {
124
+ panic!();
125
}
126
127
#[target_feature(enable = "sse2")]
0 commit comments