summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-90878-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/issue-90878-2.rs')
-rw-r--r--tests/ui/consts/issue-90878-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/issue-90878-2.rs b/tests/ui/consts/issue-90878-2.rs
index e5bcecce6..0e61c6530 100644
--- a/tests/ui/consts/issue-90878-2.rs
+++ b/tests/ui/consts/issue-90878-2.rs
@@ -1,4 +1,4 @@
- #![l=|x|[b;x ]] //~ ERROR unexpected expression: `|x| [b; x]`
+ #![l=|x|[b;x ]] //~ ERROR attribute value must be a literal
//~^ ERROR cannot find attribute `l` in this scope
// notice the space at the start,