summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-87046.stderr
blob: d0dbb21cee0120695393de4cf2ac58d831d71561 (plain)
1
2
3
4
5
6
7
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