]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0392.stderr
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
[rust.git] / src / test / ui / error-codes / E0392.stderr
1 error[E0392]: parameter `T` is never used
2   --> $DIR/E0392.rs:1:10
3    |
4 LL | enum Foo<T> { Bar }
5    |          ^ unused parameter
6    |
7    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
8    = help: if you intended `T` to be a const parameter, use `const T: usize` instead
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0392`.