summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/unknown_adt.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/unknown_adt.stderr')
-rw-r--r--tests/ui/const-generics/unknown_adt.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/const-generics/unknown_adt.stderr b/tests/ui/const-generics/unknown_adt.stderr
new file mode 100644
index 000000000..0f462dd47
--- /dev/null
+++ b/tests/ui/const-generics/unknown_adt.stderr
@@ -0,0 +1,9 @@
+error[E0412]: cannot find type `UnknownStruct` in this scope
+ --> $DIR/unknown_adt.rs:2:12
+ |
+LL | let _: UnknownStruct<7>;
+ | ^^^^^^^^^^^^^ not found in this scope
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0412`.