1
Fork 0

cleanup: Remove outdated comment and logic of thir_body

This commit is contained in:
Adwin White 2024-11-05 12:41:52 +08:00
parent fbab78289d
commit 15a71b64b8
2 changed files with 1 additions and 5 deletions

View file

@ -463,7 +463,7 @@ rustc_queries! {
separate_provide_extern
}
/// Fetch the THIR for a given body. If typeck for that body failed, returns an empty `Thir`.
/// Fetch the THIR for a given body.
query thir_body(key: LocalDefId) -> Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId), ErrorGuaranteed> {
// Perf tests revealed that hashing THIR is inefficient (see #85729).
no_hash