1 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
2 --> $DIR/resolve-unknown-trait.rs:12:18
4 LL | trait NewTrait : SomeNonExistentTrait {}
5 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
7 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
8 --> $DIR/resolve-unknown-trait.rs:15:6
10 LL | impl SomeNonExistentTrait for isize {}
11 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
13 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
14 --> $DIR/resolve-unknown-trait.rs:18:8
16 LL | fn f<T:SomeNonExistentTrait>() {}
17 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
19 error[E0601]: `main` function not found in crate `resolve_unknown_trait`
21 = note: consider adding a `main` function to `$DIR/resolve-unknown-trait.rs`
23 error: aborting due to 4 previous errors
25 Some errors occurred: E0405, E0601.
26 For more information about an error, try `rustc --explain E0405`.