aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unstable-features/trivial_bounds.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unstable-features/trivial_bounds.stderr')
-rw-r--r--tests/ui/unstable-features/trivial_bounds.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/unstable-features/trivial_bounds.stderr b/tests/ui/unstable-features/trivial_bounds.stderr
index 23f45c7..ab07a10 100644
--- a/tests/ui/unstable-features/trivial_bounds.stderr
+++ b/tests/ui/unstable-features/trivial_bounds.stderr
@@ -1,7 +1,7 @@
error: trait bound PhantomPinned: Unpin does not depend on any type or lifetime parameters
- --> tests/ui/unstable-features/trivial_bounds.rs:15:43
+ --> tests/ui/unstable-features/trivial_bounds.rs:16:43
|
-15 | impl Unpin for A where PhantomPinned: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
+16 | impl Unpin for A where PhantomPinned: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
| ^^^^^
|
note: the lint level is defined here
@@ -11,13 +11,13 @@ note: the lint level is defined here
| ^^^^^^^^^^^^^^
error: trait bound Inner: Unpin does not depend on any type or lifetime parameters
- --> tests/ui/unstable-features/trivial_bounds.rs:19:35
+ --> tests/ui/unstable-features/trivial_bounds.rs:20:35
|
-19 | impl Unpin for B where Inner: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
+20 | impl Unpin for B where Inner: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
| ^^^^^
error: trait bound Wrapper<Inner>: Unpin does not depend on any type or lifetime parameters
- --> tests/ui/unstable-features/trivial_bounds.rs:27:44
+ --> tests/ui/unstable-features/trivial_bounds.rs:28:44
|
-27 | impl Unpin for C where Wrapper<Inner>: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
+28 | impl Unpin for C where Wrapper<Inner>: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
| ^^^^^