]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/resolve-unknown-trait.stderr
Rollup merge of #53043 - GuillaumeGomez:improve-unstable-msg-display, r=QuietMisdreavus
[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:12: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:15: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:18:8
15    |
16 LL | fn f<T:SomeNonExistentTrait>() {}
17    |        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
18
19 error[E0601]: `main` function not found in crate `resolve_unknown_trait`
20    |
21    = note: consider adding a `main` function to `$DIR/resolve-unknown-trait.rs`
22
23 error: aborting due to 4 previous errors
24
25 Some errors occurred: E0405, E0601.
26 For more information about an error, try `rustc --explain E0405`.