rust/tests/ui/rust-2021/prelude2021.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
92 B
Rust
Raw Normal View History

//@ check-pass
//@ edition:2021
2021-05-25 12:59:06 -05:00
fn main() {
let _: u16 = 123i32.try_into().unwrap();
}