Skip to content

Commit b831b60

Browse files
committed
Fix ui test for nll
1 parent de23782 commit b831b60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/test/ui/kindck/kindck-impl-type-params.nll.stderr

+4
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ note: required because of the requirements on the impl of `Gettable<Foo>` for `S
9191
LL | impl<T: Send + Copy + 'static> Gettable<T> for S<T> {}
9292
| ^^^^^^^^^^^ ^^^^
9393
= 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+
|
9498

9599
error: aborting due to 6 previous errors
96100

0 commit comments

Comments
 (0)