]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-unknown-trait.stderr
Merge commit '48d60ab7c505c6c1ebb042eacaafd8dc9f7a9267' into libgccjit-codegen
[rust.git] / src / test / ui / resolve / resolve-unknown-trait.stderr
1 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
2   --> $DIR/resolve-unknown-trait.rs:1:18
3    |
4 LL | trait NewTrait : SomeNonExistentTrait {}
5    |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
6
7 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
8   --> $DIR/resolve-unknown-trait.rs:4:6
9    |
10 LL | impl SomeNonExistentTrait for isize {}
11    |      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
12
13 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
14   --> $DIR/resolve-unknown-trait.rs:7:8
15    |
16 LL | fn f<T:SomeNonExistentTrait>() {}
17    |        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0405`.