Turn const_caller_location from a query to a hook
This commit is contained in:
parent
045f158d7b
commit
77174d3f29
5 changed files with 14 additions and 12 deletions
|
@ -1101,10 +1101,6 @@ rustc_queries! {
|
|||
desc { "destructuring type level constant"}
|
||||
}
|
||||
|
||||
query const_caller_location(key: (rustc_span::Symbol, u32, u32)) -> mir::ConstValue<'tcx> {
|
||||
desc { "getting a &core::panic::Location referring to a span" }
|
||||
}
|
||||
|
||||
// FIXME get rid of this with valtrees
|
||||
query lit_to_const(
|
||||
key: LitToConstInput<'tcx>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue