]> git.proxmox.com Git - rustc.git/blob - tests/ui/enum/enum-in-scope.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / enum / enum-in-scope.stderr
1 error[E0530]: let bindings cannot shadow tuple structs
2 --> $DIR/enum-in-scope.rs:6:9
3 |
4 LL | struct hello(isize);
5 | -------------------- the tuple struct `hello` is defined here
6 ...
7 LL | let hello = 0;
8 | ^^^^^ cannot be named the same as a tuple struct
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0530`.