summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0390.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/error-codes/E0390.stderr19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0390.stderr b/src/test/ui/error-codes/E0390.stderr
new file mode 100644
index 000000000..0e5a9ca76
--- /dev/null
+++ b/src/test/ui/error-codes/E0390.stderr
@@ -0,0 +1,19 @@
+error[E0390]: cannot define inherent `impl` for primitive types
+ --> $DIR/E0390.rs:5:6
+ |
+LL | impl *mut Foo {}
+ | ^^^^^^^^
+ |
+ = help: consider using an extension trait instead
+
+error[E0390]: cannot define inherent `impl` for primitive types
+ --> $DIR/E0390.rs:7:6
+ |
+LL | impl fn(Foo) {}
+ | ^^^^^^^
+ |
+ = help: consider using an extension trait instead
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0390`.