1
Fork 0

Remove deref_mir_constant

This commit is contained in:
Oli Scherer 2023-05-24 15:38:43 +00:00
parent d030ece6f7
commit aa3a1862ba
4 changed files with 1 additions and 53 deletions

View file

@ -1081,14 +1081,6 @@ rustc_queries! {
desc { "destructuring MIR constant"}
}
/// Dereference a constant reference or raw pointer and turn the result into a constant
/// again.
query deref_mir_constant(
key: ty::ParamEnvAnd<'tcx, mir::ConstantKind<'tcx>>
) -> mir::ConstantKind<'tcx> {
desc { "dereferencing MIR constant" }
}
query const_caller_location(key: (rustc_span::Symbol, u32, u32)) -> ConstValue<'tcx> {
desc { "getting a &core::panic::Location referring to a span" }
}