os-rust/tests/ui/issues/issue-17904-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
376 B
Text
Raw Normal View History

error[E0392]: type parameter `T` is never used
2018-12-25 08:56:47 -07:00
--> $DIR/issue-17904-2.rs:4:12
2018-07-15 14:11:54 -07:00
|
2019-03-09 15:03:44 +03:00
LL | struct Foo<T> where T: Copy;
| ^ unused type parameter
2018-07-15 14:11:54 -07:00
|
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
2018-07-15 14:11:54 -07:00
error: aborting due to 1 previous error
2018-07-15 14:11:54 -07:00
For more information about this error, try `rustc --explain E0392`.