summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0197.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0197.stderr')
-rw-r--r--src/test/ui/error-codes/E0197.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0197.stderr b/src/test/ui/error-codes/E0197.stderr
new file mode 100644
index 000000000..35e104264
--- /dev/null
+++ b/src/test/ui/error-codes/E0197.stderr
@@ -0,0 +1,11 @@
+error[E0197]: inherent impls cannot be unsafe
+ --> $DIR/E0197.rs:3:13
+ |
+LL | unsafe impl Foo { }
+ | ------ ^^^ inherent impl for this type
+ | |
+ | unsafe because of this
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0197`.