1
Fork 0

bless tests

This commit is contained in:
b-naber 2021-12-05 11:47:07 +01:00
parent 8ff50fe273
commit 1777f431ad

View file

@ -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