diff options
Diffstat (limited to 'tests/ui/structs/struct-path-alias-bounds.stderr')
-rw-r--r-- | tests/ui/structs/struct-path-alias-bounds.stderr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/structs/struct-path-alias-bounds.stderr b/tests/ui/structs/struct-path-alias-bounds.stderr index 266291f62..5b01208c5 100644 --- a/tests/ui/structs/struct-path-alias-bounds.stderr +++ b/tests/ui/structs/struct-path-alias-bounds.stderr @@ -11,7 +11,8 @@ LL | struct S<T: Clone> { a: T } | ^^^^^ required by this bound in `S` help: consider annotating `NoClone` with `#[derive(Clone)]` | -LL | #[derive(Clone)] +LL + #[derive(Clone)] +LL | struct NoClone; | error: aborting due to previous error |