mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
4c4b61b730
Implicit deref patterns allow previously ill-typed programs. Make sure they're still ill-typed without the feature gate. I've thrown in a test for `deref!(_)` too, though it seems it refers to `deref_patterns` as a library feature.