blob: 48a68a3907a9aad05bd055337a66c95f4e6bc4b6 [file] [log] [blame]
fn main() {
type X = isize;
type Y = X;
if true {
type X = &'static str;
let y: Y = "hello"; //~ ERROR mismatched types
}
}