bless tests
This commit is contained in:
parent
8ff50fe273
commit
1777f431ad
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ error: overly complex generic constant
|
||||||
LL | fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
|
LL | fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
|
||||||
| ^^^^-------^^
|
| ^^^^-------^^
|
||||||
| |
|
| |
|
||||||
| dereferencing is not supported in generic constants
|
| borrowing is not supported in generic constants
|
||||||
|
|
|
|
||||||
= help: consider moving this anonymous constant into a `const` function
|
= help: consider moving this anonymous constant into a `const` function
|
||||||
= note: this operation may be supported in the future
|
= note: this operation may be supported in the future
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue