1
Fork 0

dont make lit_to_mir_constant a query

This commit is contained in:
b-naber 2022-04-08 11:56:21 +02:00
parent c3491378e3
commit 3be987e076
4 changed files with 56 additions and 57 deletions

View file

@ -960,10 +960,6 @@ rustc_queries! {
desc { "converting literal to const" }
}
query lit_to_mir_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() }