about summary refs log tree commit diff
path: root/tests/ui/structs/struct-path-alias-bounds.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/structs/struct-path-alias-bounds.stderr')
-rw-r--r--tests/ui/structs/struct-path-alias-bounds.stderr3
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 266291f62b4..5b01208c56f 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