summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0116.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0116.stderr')
-rw-r--r--tests/ui/error-codes/E0116.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0116.stderr b/tests/ui/error-codes/E0116.stderr
new file mode 100644
index 000000000..a5ceeb4a5
--- /dev/null
+++ b/tests/ui/error-codes/E0116.stderr
@@ -0,0 +1,11 @@
+error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined
+ --> $DIR/E0116.rs:1:1
+ |
+LL | impl Vec<u8> {}
+ | ^^^^^^^^^^^^^^^ impl for type defined outside of crate.
+ |
+ = note: define and implement a trait or new type instead
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0116`.