Skip to content

Commit 4091a29

Browse files
Update uitest stderrs + new test
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
1 parent 312da21 commit 4091a29

15 files changed

+392
-359
lines changed

tests/ui/attributes/issue-90873.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
error: attribute value must be a literal
2-
--> $DIR/issue-90873.rs:1:6
3-
|
4-
LL | #![u=||{static d=||1;}]
5-
| ^^^^^^^^^^^^^^^^^
6-
7-
error: attribute value must be a literal
8-
--> $DIR/issue-90873.rs:6:6
9-
|
10-
LL | #![a={impl std::ops::Neg for i8 {}}]
11-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12-
131
error: cannot find attribute `u` in this scope
142
--> $DIR/issue-90873.rs:1:4
153
|
@@ -22,6 +10,18 @@ error: cannot find attribute `a` in this scope
2210
LL | #![a={impl std::ops::Neg for i8 {}}]
2311
| ^
2412

13+
error: attribute value must be a literal
14+
--> $DIR/issue-90873.rs:1:6
15+
|
16+
LL | #![u=||{static d=||1;}]
17+
| ^^^^^^^^^^^^^^^^^
18+
19+
error: attribute value must be a literal
20+
--> $DIR/issue-90873.rs:6:6
21+
|
22+
LL | #![a={impl std::ops::Neg for i8 {}}]
23+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24+
2525
error[E0601]: `main` function not found in crate `issue_90873`
2626
--> $DIR/issue-90873.rs:6:37
2727
|

0 commit comments

Comments
 (0)