summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/generic_not_used.stderr
blob: fd720239a5239adb002b24137a9bb4f58d4594b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: at least one trait must be specified
  --> $DIR/generic_not_used.rs:5:33
   |
LL | type WrongGeneric<T: 'static> = impl 'static;
   |                                 ^^^^^^^^^^^^

error: type parameter `V` is part of concrete type but not used in parameter list for the `impl Trait` type alias
  --> $DIR/generic_not_used.rs:9:5
   |
LL |     v
   |     ^

error: aborting due to 2 previous errors