diff options
Diffstat (limited to 'tests/ui/error-codes/E0198.stderr')
-rw-r--r-- | tests/ui/error-codes/E0198.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0198.stderr b/tests/ui/error-codes/E0198.stderr new file mode 100644 index 000000000..bb2efefb4 --- /dev/null +++ b/tests/ui/error-codes/E0198.stderr @@ -0,0 +1,12 @@ +error[E0198]: negative impls cannot be unsafe + --> $DIR/E0198.rs:5:13 + | +LL | unsafe impl !Send for Foo { } + | ------ -^^^^ + | | | + | | negative because of this + | unsafe because of this + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0198`. |