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