about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-12-02 11:48:58 +0000
committerbors <bors@rust-lang.org>2021-12-02 11:48:58 +0000
commit18bb8c61a975fff6424cda831ace5b0404277145 (patch)
tree9c2d6ff1632a54ac914170d2c4ecf949a416d89e /compiler/rustc_data_structures/src
parentd9baa361902b172be716f96619b909f340802dea (diff)
parent5ebc99e5b29a36150dfe090b4ac17d241debfb36 (diff)
downloadrust-18bb8c61a975fff6424cda831ace5b0404277145.tar.gz
rust-18bb8c61a975fff6424cda831ace5b0404277145.zip
Auto merge of #91354 - fee1-dead:const_env, r=spastorino
Cleanup: Eliminate ConstnessAnd

This is almost a behaviour-free change and purely a refactoring. "almost" because we appear to be using the wrong ParamEnv somewhere already, and this is now exposed by failing a test using the unstable `~const` feature.

We most definitely need to review all `without_const` and at some point should probably get rid of many of them by using `TraitPredicate` instead of `TraitRef`.

This is a continuation of https://github.com/rust-lang/rust/pull/90274.

r? `@oli-obk`

cc `@spastorino` `@ecstatic-morse`
Diffstat (limited to 'compiler/rustc_data_structures/src')
0 files changed, 0 insertions, 0 deletions