mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-31 21:16:44 +00:00
Use `ensure` when the result of the query is not needed beyond its `Result`ness while I would like to just remove the `tcx` methods for ensure-only queries, that is hard to do without another query annotation or by turning the `define_callbacks` macro into a proc macro to get more control should fix perf regression of https://github.com/rust-lang/rust/pull/120558