fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
610 B23 linesraw
1error: lifetimes cannot start with a number
2  --> $DIR/numeric-lifetime.rs:1:10
3   |
4LL | struct S<'1> { s: &'1 usize }
5   |          ^^
6
7error: lifetimes cannot start with a number
8  --> $DIR/numeric-lifetime.rs:1:20
9   |
10LL | struct S<'1> { s: &'1 usize }
11   |                    ^^
12
13error[E0308]: mismatched types
14  --> $DIR/numeric-lifetime.rs:6:20
15   |
16LL |     let x: usize = "";
17   |            -----   ^^ expected `usize`, found `&str`
18   |            |
19   |            expected due to this
20
21error: aborting due to 3 previous errors
22
23For more information about this error, try `rustc --explain E0308`.