rust/compiler/rustc_ty_utils/src
bors 18bb8c61a9 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`
2021-12-02 11:48:58 +00:00
..
common_traits.rs Don't consider !Unpin references as noalias 2021-03-21 20:10:53 +01:00
instance.rs impl Copy/Clone for arrays in std, not in compiler 2021-11-08 13:11:58 -05:00
lib.rs Remove various unused feature gates 2021-10-02 19:09:18 +02:00
needs_drop.rs Recurse through query system when checking ADT drop types, hopefully improving perf 2021-11-13 14:47:17 -05:00
representability.rs Implement changes suggested by tmiasko and davidtwco 2021-05-10 17:47:50 +02:00
ty.rs Auto merge of #91354 - fee1-dead:const_env, r=spastorino 2021-12-02 11:48:58 +00:00