]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-36299.stderr
Reword E0392 slightly
[rust.git] / src / test / ui / issues / issue-36299.stderr
index faa20253b9b476c3c9e3616aef62057b9c515b9f..2a9e01421c06d1bd1a9f97215c551ac3ae1eb58c 100644 (file)
@@ -1,18 +1,18 @@
 error[E0392]: parameter `'a` is never used
-  --> $DIR/issue-36299.rs:11:12
+  --> $DIR/issue-36299.rs:1:12
    |
 LL | struct Foo<'a, A> {}
-   |            ^^ unused type parameter
+   |            ^^ unused parameter
    |
-   = help: consider removing `'a` or using a marker such as `std::marker::PhantomData`
+   = help: consider removing `'a`, refering to it in a field or using a marker such as `std::marker::PhantomData`
 
 error[E0392]: parameter `A` is never used
-  --> $DIR/issue-36299.rs:11:16
+  --> $DIR/issue-36299.rs:1:16
    |
 LL | struct Foo<'a, A> {}
-   |                ^ unused type parameter
+   |                ^ unused parameter
    |
-   = help: consider removing `A` or using a marker such as `std::marker::PhantomData`
+   = help: consider removing `A`, refering to it in a field or using a marker such as `std::marker::PhantomData`
 
 error: aborting due to 2 previous errors