|
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 |
| - |
37 | 1 | error: borrow expressions cannot be annotated with lifetimes
|
38 | 2 | --> $DIR/issue-104390.rs:3:25
|
39 | 3 | |
|
@@ -76,5 +40,41 @@ LL - fn f6() -> impl Sized { &'_ 2E }
|
76 | 40 | LL + fn f6() -> impl Sized { &2E }
|
77 | 41 | |
|
78 | 42 |
|
| 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 | + |
79 | 79 | error: aborting due to 9 previous errors
|
80 | 80 |
|
0 commit comments