Skip to content

Commit a642bff

Browse files
committed
commit ui test output changes
1 parent e8c244e commit a642bff

File tree

3 files changed

+48
-48
lines changed

3 files changed

+48
-48
lines changed
+36-36
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,3 @@
1-
error: expected at least one digit in exponent
2-
--> $DIR/issue-104390.rs:1:27
3-
|
4-
LL | fn f1() -> impl Sized { & 2E }
5-
| ^^
6-
7-
error: expected at least one digit in exponent
8-
--> $DIR/issue-104390.rs:2:28
9-
|
10-
LL | fn f2() -> impl Sized { && 2E }
11-
| ^^
12-
13-
error: expected at least one digit in exponent
14-
--> $DIR/issue-104390.rs:3:29
15-
|
16-
LL | fn f3() -> impl Sized { &'a 2E }
17-
| ^^
18-
19-
error: expected at least one digit in exponent
20-
--> $DIR/issue-104390.rs:5:34
21-
|
22-
LL | fn f4() -> impl Sized { &'static 2E }
23-
| ^^
24-
25-
error: expected at least one digit in exponent
26-
--> $DIR/issue-104390.rs:7:28
27-
|
28-
LL | fn f5() -> impl Sized { *& 2E }
29-
| ^^
30-
31-
error: expected at least one digit in exponent
32-
--> $DIR/issue-104390.rs:8:29
33-
|
34-
LL | fn f6() -> impl Sized { &'_ 2E }
35-
| ^^
36-
371
error: borrow expressions cannot be annotated with lifetimes
382
--> $DIR/issue-104390.rs:3:25
393
|
@@ -76,5 +40,41 @@ LL - fn f6() -> impl Sized { &'_ 2E }
7640
LL + fn f6() -> impl Sized { &2E }
7741
|
7842

43+
error: expected at least one digit in exponent
44+
--> $DIR/issue-104390.rs:1:27
45+
|
46+
LL | fn f1() -> impl Sized { & 2E }
47+
| ^^
48+
49+
error: expected at least one digit in exponent
50+
--> $DIR/issue-104390.rs:2:28
51+
|
52+
LL | fn f2() -> impl Sized { && 2E }
53+
| ^^
54+
55+
error: expected at least one digit in exponent
56+
--> $DIR/issue-104390.rs:3:29
57+
|
58+
LL | fn f3() -> impl Sized { &'a 2E }
59+
| ^^
60+
61+
error: expected at least one digit in exponent
62+
--> $DIR/issue-104390.rs:5:34
63+
|
64+
LL | fn f4() -> impl Sized { &'static 2E }
65+
| ^^
66+
67+
error: expected at least one digit in exponent
68+
--> $DIR/issue-104390.rs:7:28
69+
|
70+
LL | fn f5() -> impl Sized { *& 2E }
71+
| ^^
72+
73+
error: expected at least one digit in exponent
74+
--> $DIR/issue-104390.rs:8:29
75+
|
76+
LL | fn f6() -> impl Sized { &'_ 2E }
77+
| ^^
78+
7979
error: aborting due to 9 previous errors
8080

tests/ui/consts/issue-91434.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
error: expected at least one digit in exponent
2-
--> $DIR/issue-91434.rs:2:11
3-
|
4-
LL | [9; [[9E; h]]];
5-
| ^^
6-
71
error[E0425]: cannot find value `h` in this scope
82
--> $DIR/issue-91434.rs:2:15
93
|
104
LL | [9; [[9E; h]]];
115
| ^ not found in this scope
126

7+
error: expected at least one digit in exponent
8+
--> $DIR/issue-91434.rs:2:11
9+
|
10+
LL | [9; [[9E; h]]];
11+
| ^^
12+
1313
error: aborting due to 2 previous errors
1414

1515
For more information about this error, try `rustc --explain E0425`.
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
error: expected at least one digit in exponent
2-
--> $DIR/issue-49746-unicode-confusable-in-float-literal-expt.rs:1:47
3-
|
4-
LL | const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e−11; // m³⋅kg⁻¹⋅s⁻²
5-
| ^^^^^^
6-
71
error: unknown start of token: \u{2212}
82
--> $DIR/issue-49746-unicode-confusable-in-float-literal-expt.rs:1:53
93
|
@@ -15,5 +9,11 @@ help: Unicode character '−' (Minus Sign) looks like '-' (Minus/Hyphen), but it
159
LL | const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e-11; // m³⋅kg⁻¹⋅s⁻²
1610
| ~
1711

12+
error: expected at least one digit in exponent
13+
--> $DIR/issue-49746-unicode-confusable-in-float-literal-expt.rs:1:47
14+
|
15+
LL | const UNIVERSAL_GRAVITATIONAL_CONSTANT: f64 = 6.674e−11; // m³⋅kg⁻¹⋅s⁻²
16+
| ^^^^^^
17+
1818
error: aborting due to 2 previous errors
1919

0 commit comments

Comments
 (0)