a047064d6b
Reverts PR #108031 Fixes (doesnt close until beta backported) #109746 This reverts commit e3f9db5fc319c6d8eee5d47d216ea6a426070c41. This reverts commit 98b82aedba3f3f581e89df54352914b27f42c6f7. This reverts commit 380fa264132ad481e73cbbf0f3a0feefd99a1d78.
24 lines
610 B
Plaintext
24 lines
610 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/numeric-lifetime.rs:6:20
|
|
|
|
|
LL | let x: usize = "";
|
|
| ----- ^^ expected `usize`, found `&str`
|
|
| |
|
|
| expected due to this
|
|
|
|
error: lifetimes cannot start with a number
|
|
--> $DIR/numeric-lifetime.rs:1:10
|
|
|
|
|
LL | struct S<'1> { s: &'1 usize }
|
|
| ^^
|
|
|
|
error: lifetimes cannot start with a number
|
|
--> $DIR/numeric-lifetime.rs:1:20
|
|
|
|
|
LL | struct S<'1> { s: &'1 usize }
|
|
| ^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|