diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-17904-2.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-17904-2.stderr b/src/test/ui/issues/issue-17904-2.stderr new file mode 100644 index 000000000..62b7b7953 --- /dev/null +++ b/src/test/ui/issues/issue-17904-2.stderr @@ -0,0 +1,11 @@ +error[E0392]: parameter `T` is never used + --> $DIR/issue-17904-2.rs:4:12 + | +LL | struct Foo<T> where T: Copy; + | ^ unused parameter + | + = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0392`. |