summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2021/prelude2021.rs
blob: a63b6fcf2627ab8294f0a0e050b63a466c3bdf16 (plain)
1
2
3
4
5
6
// check-pass
// edition:2021

fn main() {
    let _: u16 = 123i32.try_into().unwrap();
}