blob: 131c476aa55c0c2ba808c918af3feb00f023c690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
error[E0109]: const arguments are not allowed on builtin type `usize`
--> $DIR/usize-generic-argument-parent.rs:2:18
|
LL | let x: usize<foo>;
| ----- ^^^ const argument not allowed
| |
| not allowed on builtin type `usize`
|
help: primitive type `usize` doesn't have generic parameters
|
LL - let x: usize<foo>;
LL + let x: usize;
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0109`.
|