rust/tests/ui/usize-generic-argument-parent.stderr

18 lines
510 B
Plaintext
Raw Normal View History

2022-06-19 20:21:01 -05:00
error[E0109]: const arguments are not allowed on builtin type `usize`
--> $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-06-02 16:06:54 -05:00
help: primitive type `usize` doesn't have generic parameters
|
LL - let x: usize<foo>;
LL + let x: usize;
2022-06-08 12:34:57 -05:00
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0109`.