]> git.lizzy.rs Git - rust.git/blob - src/test/ui/existential_types/unused_generic_param.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / existential_types / unused_generic_param.stderr
1 error[E0091]: type parameter `T` is unused
2   --> $DIR/unused_generic_param.rs:6:35
3    |
4 LL | existential type PartiallyDefined<T>: 'static; //~ `T` is unused
5    |                                   ^ unused type parameter
6
7 error[E0091]: type parameter `T` is unused
8   --> $DIR/unused_generic_param.rs:12:36
9    |
10 LL | existential type PartiallyDefined2<T>: 'static; //~ `T` is unused
11    |                                    ^ unused type parameter
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0091`.