dont use a query for lit_to_constant
This commit is contained in:
parent
1b5fbe2076
commit
19041d995d
5 changed files with 9 additions and 18 deletions
|
@ -962,10 +962,6 @@ rustc_queries! {
|
|||
desc { "converting literal to const" }
|
||||
}
|
||||
|
||||
query lit_to_constant(key: LitToConstInput<'tcx>) -> Result<mir::ConstantKind<'tcx>, LitToConstError> {
|
||||
desc { "converting literal to mir constant"}
|
||||
}
|
||||
|
||||
query check_match(key: DefId) {
|
||||
desc { |tcx| "match-checking `{}`", tcx.def_path_str(key) }
|
||||
cache_on_disk_if { key.is_local() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue