]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0110.stderr
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / ui / error-codes / E0110.stderr
1 error[E0109]: lifetime arguments are not allowed on builtin type `u32`
2   --> $DIR/E0110.rs:1:14
3    |
4 LL | type X = u32<'static>;
5    |          --- ^^^^^^^ lifetime argument not allowed
6    |          |
7    |          not allowed on builtin type `u32`
8    |
9 help: primitive type `u32` doesn't have generic parameters
10    |
11 LL - type X = u32<'static>;
12 LL + type X = u32;
13    |
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0109`.