You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Combining generic_const_exprs with adt_const_params talks about derefs that don't exist in the code #90455
error: overly complex generic constant
--> src/lib.rs:5:14
|
5 | n:[u64;num_limbs(N)],
| ^^^^^^^^^^-^
| |
| dereferencing is not supported in generic constants
|
= help: consider moving this anonymous constant into a `const` function
= note: this operation may be supported in the future
Activity
oli-obk commentedon Oct 31, 2021
We probably need to skip reborrows by treating them as no-ops
Rollup merge of rust-lang#90529 - b-naber:reborrows-consts, r=lcnr