summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/illegal-copy-bad-projection.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coherence/illegal-copy-bad-projection.stderr')
-rw-r--r--tests/ui/coherence/illegal-copy-bad-projection.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/coherence/illegal-copy-bad-projection.stderr b/tests/ui/coherence/illegal-copy-bad-projection.stderr
new file mode 100644
index 000000000..8fed9ba23
--- /dev/null
+++ b/tests/ui/coherence/illegal-copy-bad-projection.stderr
@@ -0,0 +1,9 @@
+error[E0412]: cannot find type `void` in this scope
+ --> $DIR/illegal-copy-bad-projection.rs:6:23
+ |
+LL | type Ptr = *const void;
+ | ^^^^ not found in this scope
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0412`.