rust-lang/project-const-traits

Const closures

Opened this issue · 0 comments

How are these supposed to work? We may need to have:

  • const || {} which is always const
  • ~const || {} which is conditionally const, and inherits the const conditions of the parent fn
  • || {} which is never const