fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
626 B18 linesraw
1error[E0573]: expected type, found module `result`
2  --> $DIR/do-not-attempt-to-add-suggestions-with-no-changes.rs:2:6
3   |
4LL | 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
10error[E0573]: expected type, found variant `Err`
11  --> $DIR/do-not-attempt-to-add-suggestions-with-no-changes.rs:3:25
12   |
13LL |     fn into_future() -> Err {}
14   |                         ^^^ not a type
15
16error: aborting due to 2 previous errors
17
18For more information about this error, try `rustc --explain E0573`.