We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de23782 commit b831b60Copy full SHA for b831b60
1 file changed
src/test/ui/kindck/kindck-impl-type-params.nll.stderr
@@ -91,6 +91,10 @@ note: required because of the requirements on the impl of `Gettable<Foo>` for `S
91
LL | impl<T: Send + Copy + 'static> Gettable<T> for S<T> {}
92
| ^^^^^^^^^^^ ^^^^
93
= note: required for the cast to the object type `dyn Gettable<Foo>`
94
+help: consider annotating `Foo` with `#[derive(Copy)]`
95
+ |
96
+LL | #[derive(Copy)]
97
98
99
error: aborting due to 6 previous errors
100
0 commit comments