Debian Codegraph @

gcc/testsuite/rust/compile/shadow1.rs

raw
1 fn main() {
2 let mut x = 5;
3 let mut x;
4 x = true;
5 x = x + 2; // { dg-error "cannot apply operator .+. to types bool and <integer>" }
6 }