]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type/type-shadow.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / type / type-shadow.rs
CommitLineData
223e47cc 1fn main() {
1a4d82fc 2 type X = isize;
223e47cc
LB
3 type Y = X;
4 if true {
970d7e83
LB
5 type X = &'static str;
6 let y: Y = "hello"; //~ ERROR mismatched types
223e47cc
LB
7 }
8}