diff options
| author | bors <bors@rust-lang.org> | 2024-02-12 07:28:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-12 07:28:13 +0000 |
| commit | aebf4511e919e8df6db8a9217fd56316a9f8a38f (patch) | |
| tree | 9223c587594db48cf5e503397c62ea8505c9efaf /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | de4d615e6b86f7ef6deacd24610b0678230b8af3 (diff) | |
| parent | 614ff0fae999f3aeff6024413993c58453b11d96 (diff) | |
| download | rust-aebf4511e919e8df6db8a9217fd56316a9f8a38f.tar.gz rust-aebf4511e919e8df6db8a9217fd56316a9f8a38f.zip | |
Auto merge of #120835 - oli-obk:no_hir_coherence, r=cjgillot
Avoid accessing the HIR in the happy path of `coherent_trait` Unfortunately the hir is still used in unsafety checks, and we do not have a way to avoid that. An impl's unsafety is not part of any query other than hir. So this PR does not affect perf, but could still be considered a cleanup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
