Ivakin Kirill
Ivakin Kirill
Refactoring which was mentioned in #87487
(https://github.com/rust-lang/rust/issues/48054). r? @petrochenkov
Summary: https://github.com/rust-lang/rust/pull/120706#issuecomment-1934006762 r? @petrochenkov
This patch allows `maybe` polarity bounds under a feature gate. The only language change here is that corresponding hard errors are replaced by feature gates. Example: ```rust #![feature(allow_maybe_polarity)] ... trait...
The description is on the [zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/144729-t-types/topic/.5Basking.20for.20help.5D.20.60DeepRejectCtxt.60.20for.20param.20env.20candidates) r? @lcnr