]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/generic_not_used.stderr
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / type-alias-impl-trait / generic_not_used.stderr
1 error: at least one trait must be specified
2   --> $DIR/generic_not_used.rs:5:33
3    |
4 LL | type WrongGeneric<T: 'static> = impl 'static;
5    |                                 ^^^^^^^^^^^^
6
7 error: type parameter `V` is part of concrete type but not used in parameter list for the `impl Trait` type alias
8   --> $DIR/generic_not_used.rs:9:5
9    |
10 LL |     v
11    |     ^
12
13 error: aborting due to 2 previous errors
14