1
Fork 0

Remove lit_to_mir_constant query

This commit is contained in:
Oli Scherer 2023-05-25 13:15:41 +00:00
parent aa3a1862ba
commit 4ca87073f6
6 changed files with 11 additions and 16 deletions

View file

@ -1092,10 +1092,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: LocalDefId) -> Result<(), rustc_errors::ErrorGuaranteed> {
desc { |tcx| "match-checking `{}`", tcx.def_path_str(key) }
cache_on_disk_if { true }