allow unordered const/ty params if any cg feature is active
This commit is contained in:
parent
0c28e028b6
commit
4747cbb3bb
4 changed files with 4 additions and 6 deletions
|
|
@ -3,8 +3,6 @@ error: generic parameters with a default must be trailing
|
|||
|
|
||||
LL | struct Bar<T = [u8; N], const N: usize>(T);
|
||||
| ^
|
||||
|
|
||||
= note: using type defaults and const parameters in the same parameter list is currently not permitted
|
||||
|
||||
error[E0128]: generic parameters with a default cannot use forward declared identifiers
|
||||
--> $DIR/params-in-ct-in-ty-param-lazy-norm.rs:8:21
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue