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