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
…rns, r=catamorphism
Correct treatment of irrefutable patterns. The old code was wrong in many, many ways. `ref` bindings didn't work, it sometimes copied when it should have moved, the borrow checker didn't even look at such patterns at all, we weren't consistent about preventing values with destructors from being pulled apart, etc.
Fixes#3224.
Fixes#3225.
Fixes#3255.
Fixes#6225.
Fixes#6386.
r? @catamorphism
- Contracts cannot duplicate some attributes. I think we need a better
solution than just duplicate all attributes, but for now just filter the
ones we know are problematic.
- Do not make contract generated functions `const` when annotating
constant functions.
- I also moved the compilation of no_core up since it is much faster.
## Call-out
Need to add a test.
Resolvesrust-lang#3251Resolvesrust-lang#3254
This shouldn't compile:
Related #2329
The text was updated successfully, but these errors were encountered: