about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/check-static-mut-slices.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-10 09:27:14 +0000
committerbors <bors@rust-lang.org>2024-02-10 09:27:14 +0000
commit232919c33a5ba8ce8b4171b03cc898c77da136cc (patch)
tree174deee252f3cf85226d9a792e986603d5036df1 /tests/ui/array-slice-vec/check-static-mut-slices.rs
parent757b8efed44eacbbc6baf4a393f77d23d5be90c8 (diff)
parentaa6f45eb79113e2ecd81646f33d113e7727a27e6 (diff)
downloadrust-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