]> git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/do-not-attempt-to-add-suggestions-with-no-changes.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / 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 |
7 ::: $SRC_DIR/core/src/result.rs:LL:COL
8 |
9 LL | pub enum Result<T, E> {
10 | --------------------- similarly named enum `Result` defined here
11
12 error[E0573]: expected type, found variant `Err`
13 --> $DIR/do-not-attempt-to-add-suggestions-with-no-changes.rs:3:25
14 |
15 LL | fn into_future() -> Err {}
16 | ^^^ not a type
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0573`.