]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/lint-impl-fn.rs
7 fn foo(&self) { while true {}
}
10 fn bar(&self) { while true {}
} //~ ERROR: infinite loops
18 fn foo(&self) { while true {}
} //~ ERROR: infinite loops
21 fn bar(&self) { while true {}
}
27 while true {}
//~ ERROR: infinite loops
32 while cfg
!(unix
) {}
// no error