diff options
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0197.stderr | 4 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0198.stderr | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0197.stderr b/src/test/ui/error-codes/E0197.stderr index bb7b6474d3e..51ed9c83bc9 100644 --- a/src/test/ui/error-codes/E0197.stderr +++ b/src/test/ui/error-codes/E0197.stderr @@ -2,7 +2,9 @@ error[E0197]: inherent impls cannot be unsafe --> $DIR/E0197.rs:3:1 | LL | unsafe impl Foo { } - | ^^^^^^^^^^^^^^^^^^^ + | ------^^^^^^^^^^^^^ + | | + | unsafe because of this error: aborting due to previous error diff --git a/src/test/ui/error-codes/E0198.stderr b/src/test/ui/error-codes/E0198.stderr index 0d3706336a9..90e8b4abd12 100644 --- a/src/test/ui/error-codes/E0198.stderr +++ b/src/test/ui/error-codes/E0198.stderr @@ -2,7 +2,9 @@ error[E0198]: negative impls cannot be unsafe --> $DIR/E0198.rs:5:1 | LL | unsafe impl !Send for Foo { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | ------^^^^^^^^^^^^^^^^^^^^^^^ + | | + | unsafe because of this error: aborting due to previous error |
