2022-06-19 20:21:01 -05:00
|
|
|
error[E0109]: const arguments are not allowed on builtin type `usize`
|
2020-10-18 16:40:50 -05:00
|
|
|
--> $DIR/usize-generic-argument-parent.rs:2:18
|
|
|
|
|
|
|
|
|
LL | let x: usize<foo>;
|
2022-06-01 18:55:30 -05:00
|
|
|
| ----- ^^^ const argument not allowed
|
|
|
|
| |
|
2022-06-19 20:21:01 -05:00
|
|
|
| not allowed on builtin type `usize`
|
2022-05-27 21:53:31 -05:00
|
|
|
|
|
2022-06-02 16:06:54 -05:00
|
|
|
help: primitive type `usize` doesn't have generic parameters
|
2022-05-27 21:53:31 -05:00
|
|
|
|
|
|
|
|
LL - let x: usize<foo>;
|
|
|
|
LL + let x: usize;
|
2022-06-08 12:34:57 -05:00
|
|
|
|
|
2020-10-18 16:40:50 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2020-10-18 16:40:50 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0109`.
|