]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/numeric-lifetime.stderr
Remove E0308 note when primary label has all info
[rust.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 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0308`.