fork/rust

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

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

master
764 B21 linesraw
1error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
2  --> $DIR/resolve-unknown-trait.rs:1:18
3   |
4LL | trait NewTrait : SomeNonExistentTrait {}
5   |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
6
7error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
8  --> $DIR/resolve-unknown-trait.rs:4:6
9   |
10LL | impl SomeNonExistentTrait for isize {}
11   |      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
12
13error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
14  --> $DIR/resolve-unknown-trait.rs:7:8
15   |
16LL | fn f<T:SomeNonExistentTrait>() {}
17   |        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0405`.