]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/do-not-attempt-to-add-suggestions-with-no-changes.stderr
Rollup merge of #106805 - madsravn:master, r=compiler-errors
[rust.git] / tests / ui / suggestions / do-not-attempt-to-add-suggestions-with-no-changes.stderr
1 error[E0573]: expected type, found module `result`
2   --> $DIR/do-not-attempt-to-add-suggestions-with-no-changes.rs:2:6
3    |
4 LL | impl result {
5    |      ^^^^^^ help: an enum with a similar name exists: `Result`
6   --> $SRC_DIR/core/src/result.rs:LL:COL
7    |
8    = note: similarly named enum `Result` defined here
9
10 error[E0573]: expected type, found variant `Err`
11   --> $DIR/do-not-attempt-to-add-suggestions-with-no-changes.rs:3:25
12    |
13 LL |     fn into_future() -> Err {}
14    |                         ^^^ not a type
15
16 error: aborting due to 2 previous errors
17
18 For more information about this error, try `rustc --explain E0573`.