We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04a4a82 commit 4f93b06Copy full SHA for 4f93b06
src/test/ui/prelude2021.rs
@@ -0,0 +1,7 @@
1
+// check-pass
2
+// edition:2021
3
+// compile-flags: -Zunstable-options
4
+
5
+fn main() {
6
+ let _: u16 = 123i32.try_into().unwrap();
7
+}
0 commit comments