Sort enum suggestions
This commit is contained in:
parent
b946ecd020
commit
73f6f5e096
2 changed files with 10 additions and 8 deletions
|
|
@ -46,8 +46,8 @@ error[E0573]: expected type, found variant `Ok`
|
|||
24 | fn foo() -> Ok {
|
||||
| ^^ not a type
|
||||
|
|
||||
= help: there is an enum variant `std::result::Result::Ok`, did you mean to use `std::result::Result`?
|
||||
= help: there is an enum variant `std::prelude::v1::Ok`, did you mean to use `std::prelude::v1`?
|
||||
= help: there is an enum variant `std::prelude::v1::Result::Ok`, did you mean to use `std::prelude::v1::Result`?
|
||||
|
||||
error[E0412]: cannot find type `Variant3` in this scope
|
||||
--> $DIR/issue-35675.rs:28:13
|
||||
|
|
@ -67,8 +67,8 @@ error[E0573]: expected type, found variant `Some`
|
|||
31 | fn qux() -> Some {
|
||||
| ^^^^ not a type
|
||||
|
|
||||
= help: there is an enum variant `std::prelude::v1::Some`, did you mean to use `std::prelude::v1`?
|
||||
= help: there is an enum variant `std::prelude::v1::Option::Some`, did you mean to use `std::prelude::v1::Option`?
|
||||
= help: there is an enum variant `std::prelude::v1::Some`, did you mean to use `std::prelude::v1`?
|
||||
|
||||
error: aborting due to 7 previous errors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue