DEBSOURCES
Skip Quicknav
sources / rustc / 1.85.0%2Bdfsg3-1 / tests / ui / type / type-shadow.rs
12345678
fn main() { type X = isize; type Y = X; if true { type X = &'static str; let y: Y = "hello"; //~ ERROR mismatched types } }