summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-87046.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/issue-87046.stderr')
-rw-r--r--tests/ui/consts/issue-87046.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/consts/issue-87046.stderr b/tests/ui/consts/issue-87046.stderr
new file mode 100644
index 000000000..d0dbb21ce
--- /dev/null
+++ b/tests/ui/consts/issue-87046.stderr
@@ -0,0 +1,8 @@
+error: cannot use unsized non-slice type `Username` in constant patterns
+ --> $DIR/issue-87046.rs:28:13
+ |
+LL | ROOT_USER => true,
+ | ^^^^^^^^^
+
+error: aborting due to previous error
+