Remove remap_env_constness in queries

This commit is contained in:
Deadbeef
2023-03-27 14:39:32 +00:00
parent 131211acd2
commit 954d9a8f8e
8 changed files with 25 additions and 69 deletions

View File

@@ -1849,12 +1849,6 @@ impl<'tcx, T> ParamEnvAnd<'tcx, T> {
pub fn into_parts(self) -> (ParamEnv<'tcx>, T) {
(self.param_env, self.value)
}
#[inline]
pub fn without_const(mut self) -> Self {
self.param_env = self.param_env.without_const();
self
}
}
#[derive(Copy, Clone, Debug, HashStable, Encodable, Decodable)]