rust/src/test/ui/issues/issue-32086.stderr
Andy Russell 404ad50d14
clarify resolve typo suggestion
Include the kind of the binding that we're suggesting, and use a
structured suggestion.
2019-01-09 14:11:00 -05:00

16 lines
621 B
Plaintext

error[E0532]: expected tuple struct/variant, found constant `C`
--> $DIR/issue-32086.rs:5:9
|
LL | let C(a) = S(11); //~ ERROR expected tuple struct/variant, found constant `C`
| ^ help: a tuple struct with a similar name exists: `S`
error[E0532]: expected tuple struct/variant, found constant `C`
--> $DIR/issue-32086.rs:6:9
|
LL | let C(..) = S(11); //~ ERROR expected tuple struct/variant, found constant `C`
| ^ help: a tuple struct with a similar name exists: `S`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0532`.