rust/tests/ui/const-generics/min_const_generics/const_default_first.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
207 B
Plaintext
Raw Normal View History

2021-03-20 17:34:58 -05:00
error: generic parameters with a default must be trailing
2021-10-23 10:57:49 -05:00
--> $DIR/const_default_first.rs:4:19
2021-03-20 17:34:58 -05:00
|
LL | struct Both<const N: usize=3, T> {
| ^
error: aborting due to previous error