mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
ddba967855
Make all `hir::Map` methods consistently by-value `hir::Map` only consists of a single reference (as part of the contained `TyCtxt`) anyways, so copying is literally zero overhead compared to passing a reference