Clarify message about unresolved use
This commit is contained in:
parent
397db054cb
commit
7ec1de062a
52 changed files with 126 additions and 105 deletions
|
|
@ -30,6 +30,6 @@ fn main() {
|
|||
//~| expected `char`, found `bool`
|
||||
|
||||
match () {
|
||||
E::V => {} //~ ERROR failed to resolve: use of undeclared type or module `E`
|
||||
E::V => {} //~ ERROR failed to resolve: use of undeclared type `E`
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
error[E0433]: failed to resolve: use of undeclared type or module `E`
|
||||
error[E0433]: failed to resolve: use of undeclared type `E`
|
||||
--> $DIR/pattern-error-continue.rs:33:9
|
||||
|
|
||||
LL | E::V => {}
|
||||
| ^ use of undeclared type or module `E`
|
||||
| ^ use of undeclared type `E`
|
||||
|
||||
error[E0532]: expected tuple struct or tuple variant, found unit variant `A::D`
|
||||
--> $DIR/pattern-error-continue.rs:18:9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue