diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-30 10:51:11 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-04 15:08:08 +1000 |
| commit | 4798c20d31843b49bf3a5e891c1a3534f007ce61 (patch) | |
| tree | 06214fa2dadcbc51ebc1cc0b4fea7cc7cda9822c /compiler/rustc_resolve/src | |
| parent | a6416d8907bc94ef1a032d54cb0443cde963e455 (diff) | |
| download | rust-4798c20d31843b49bf3a5e891c1a3534f007ce61.tar.gz rust-4798c20d31843b49bf3a5e891c1a3534f007ce61.zip | |
Streamline `nested` calls.
`TyCtxt` impls `PpAnn` in `compiler/rustc_middle/src/hir/map/mod.rs`. We can call that impl, which then calls the one on `intravisit::Map`, instead of calling the one on `intravisit::Map` directly, avoiding a cast and extra references.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions
