]> git.lizzy.rs Git - rust.git/blob - src/test/ui/existential_types/generic_not_used.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / existential_types / generic_not_used.stderr
1 error: type parameter `V` is part of concrete type but not used in parameter list for existential type
2   --> $DIR/generic_not_used.rs:7:73
3    |
4 LL |   fn wrong_generic<U: 'static, V: 'static>(_: U, v: V) -> WrongGeneric<U> {
5    |  _________________________________________________________________________^
6 LL | | //~^ ERROR type parameter `V` is part of concrete type but not used in parameter list
7 LL | |     v
8 LL | | }
9    | |_^
10
11 error: aborting due to previous error
12