summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0091.stderr
blob: a596b75e481de577895d32f22a4f0003adfbaa86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0091]: type parameter `T` is unused
  --> $DIR/E0091.rs:1:10
   |
LL | type Foo<T> = u32;
   |          ^ unused type parameter

error[E0091]: type parameter `B` is unused
  --> $DIR/E0091.rs:2:14
   |
LL | type Foo2<A, B> = Box<A>;
   |              ^ unused type parameter

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0091`.