diff options
Diffstat (limited to 'tests/ui/not-clone-closure.stderr')
-rw-r--r-- | tests/ui/not-clone-closure.stderr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/not-clone-closure.stderr b/tests/ui/not-clone-closure.stderr index 37d94cf0e..db9307c61 100644 --- a/tests/ui/not-clone-closure.stderr +++ b/tests/ui/not-clone-closure.stderr @@ -14,7 +14,8 @@ LL | let hello = move || { | ^^^^^^^ help: consider annotating `S` with `#[derive(Clone)]` | -LL | #[derive(Clone)] +LL + #[derive(Clone)] +LL | struct S(i32); | error: aborting due to previous error |