diff options
| author | Adwin White <adwinw01@gmail.com> | 2024-11-05 12:41:52 +0800 |
|---|---|---|
| committer | Adwin White <adwinw01@gmail.com> | 2024-11-05 12:41:52 +0800 |
| commit | 15a71b64b837373b205daaebcf75e179fdfec89e (patch) | |
| tree | faa13c77a4faa8781cb6b75fb253ab30ac80d8fb /compiler/rustc_middle | |
| parent | fbab78289dd8c6e8860034e0048cfb538f217700 (diff) | |
| download | rust-15a71b64b837373b205daaebcf75e179fdfec89e.tar.gz rust-15a71b64b837373b205daaebcf75e179fdfec89e.zip | |
cleanup: Remove outdated comment and logic of `thir_body`
Diffstat (limited to 'compiler/rustc_middle')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 41d0b47388c..30a2e839fb4 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -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 |
