2021-02-14 03:52:12 +00:00
|
|
|
error[E0573]: expected type, found module `result`
|
|
|
|
--> $DIR/do-not-attempt-to-add-suggestions-with-no-changes.rs:2:6
|
|
|
|
|
|
|
|
|
LL | impl result {
|
|
|
|
| ^^^^^^ help: an enum with a similar name exists: `Result`
|
2022-12-09 15:56:23 +00:00
|
|
|
--> $SRC_DIR/core/src/result.rs:LL:COL
|
2021-06-10 11:52:00 +00:00
|
|
|
|
|
2022-12-09 15:56:23 +00:00
|
|
|
= note: similarly named enum `Result` defined here
|
2021-02-14 03:52:12 +00:00
|
|
|
|
|
|
|
error[E0573]: expected type, found variant `Err`
|
|
|
|
--> $DIR/do-not-attempt-to-add-suggestions-with-no-changes.rs:3:25
|
|
|
|
|
|
|
|
|
LL | fn into_future() -> Err {}
|
|
|
|
| ^^^ not a type
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0573`.
|