Skip to content

Commit

Permalink
Auto merge of #120771 - oli-obk:useless_non_ensure_query_call, r=davi…
Browse files Browse the repository at this point in the history
…dtwco

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 rust-lang/rust#120558
  • Loading branch information
bors committed Feb 10, 2024
2 parents b36c426 + 8754b13 commit 0cb460b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0cb460b

Please sign in to comment.