diff options
| author | bors <bors@rust-lang.org> | 2024-02-10 09:27:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-10 09:27:14 +0000 |
| commit | 232919c33a5ba8ce8b4171b03cc898c77da136cc (patch) | |
| tree | 174deee252f3cf85226d9a792e986603d5036df1 /tests/ui/array-slice-vec/check-static-mut-slices.rs | |
| parent | 757b8efed44eacbbc6baf4a393f77d23d5be90c8 (diff) | |
| parent | aa6f45eb79113e2ecd81646f33d113e7727a27e6 (diff) | |
| download | rust-232919c33a5ba8ce8b4171b03cc898c77da136cc.tar.gz rust-232919c33a5ba8ce8b4171b03cc898c77da136cc.zip | |
Auto merge of #120771 - oli-obk:useless_non_ensure_query_call, r=davidtwco
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
Diffstat (limited to 'tests/ui/array-slice-vec/check-static-mut-slices.rs')
0 files changed, 0 insertions, 0 deletions
