]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0110.stderr
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / 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`.