Add test for 2021 prelude.

This commit is contained in:
Mara Bos 2021-05-25 19:59:06 +02:00
parent 04a4a8225b
commit 4f93b06089

View File

@ -0,0 +1,7 @@
// check-pass
// edition:2021
// compile-flags: -Zunstable-options
fn main() {
let _: u16 = 123i32.try_into().unwrap();
}