]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-104513-ice.stderr
Rollup merge of #106829 - compiler-errors:more-alias-combine, r=spastorino
[rust.git] / tests / ui / typeck / issue-104513-ice.stderr
1 error[E0405]: cannot find trait `Oops` in this scope
2   --> $DIR/issue-104513-ice.rs:3:19
3    |
4 LL |     let _: S<impl Oops> = S;
5    |                   ^^^^ not found in this scope
6
7 error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in variable binding
8   --> $DIR/issue-104513-ice.rs:3:14
9    |
10 LL |     let _: S<impl Oops> = S;
11    |              ^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 Some errors have detailed explanations: E0405, E0562.
16 For more information about an error, try `rustc --explain E0405`.