fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected at least one digit in exponent 2 --> $DIR/issue-104390.rs:1:27 3 | 4LL | fn f1() -> impl Sized { & 2E } 5 | ^^ 6 7error: expected at least one digit in exponent 8 --> $DIR/issue-104390.rs:2:28 9 | 10LL | fn f2() -> impl Sized { && 2E } 11 | ^^ 12 13error: expected at least one digit in exponent 14 --> $DIR/issue-104390.rs:3:29 15 | 16LL | fn f3() -> impl Sized { &'a 2E } 17 | ^^ 18 19error: expected at least one digit in exponent 20 --> $DIR/issue-104390.rs:5:34 21 | 22LL | fn f4() -> impl Sized { &'static 2E } 23 | ^^ 24 25error: expected at least one digit in exponent 26 --> $DIR/issue-104390.rs:7:28 27 | 28LL | fn f5() -> impl Sized { *& 2E } 29 | ^^ 30 31error: expected at least one digit in exponent 32 --> $DIR/issue-104390.rs:8:29 33 | 34LL | fn f6() -> impl Sized { &'_ 2E } 35 | ^^ 36 37error: borrow expressions cannot be annotated with lifetimes 38 --> $DIR/issue-104390.rs:3:25 39 | 40LL | fn f3() -> impl Sized { &'a 2E } 41 | ^--^^^ 42 | | 43 | annotated with lifetime here 44 | help: remove the lifetime annotation 45 46error: borrow expressions cannot be annotated with lifetimes 47 --> $DIR/issue-104390.rs:5:25 48 | 49LL | fn f4() -> impl Sized { &'static 2E } 50 | ^-------^^^ 51 | | 52 | annotated with lifetime here 53 | help: remove the lifetime annotation 54 55error: borrow expressions cannot be annotated with lifetimes 56 --> $DIR/issue-104390.rs:8:25 57 | 58LL | fn f6() -> impl Sized { &'_ 2E } 59 | ^--^^^ 60 | | 61 | annotated with lifetime here 62 | help: remove the lifetime annotation 63 64error: aborting due to 9 previous errors 65