diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-27 20:40:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-27 20:40:29 +0200 |
| commit | 9f5dce7d757583967bcd0a9da7cc489968c4542f (patch) | |
| tree | 9dd1f474d3aaa68bcae9fc236b98725716e37f23 /compiler/rustc_errors/src/snippet.rs | |
| parent | 9a4fce978dcb77cb88f6d8dc9e6f25e99155ede3 (diff) | |
| parent | b7db3de8d523145e2530619421eef2d10e116e96 (diff) | |
| download | rust-9f5dce7d757583967bcd0a9da7cc489968c4542f.tar.gz rust-9f5dce7d757583967bcd0a9da7cc489968c4542f.zip | |
Rollup merge of #112018 - GuillaumeGomez:cleanup-tcx, r=notriddle
Clean up usage of `cx.tcx` when `tcx` is already set into a variable I discovered a few cases where `cx.tcx` (and equivalents) was used whereas `tcx` was already stored into a variable. In those cases, better to just use `tcx` directly. r? `@notriddle`
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
