mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-18 19:06:14 +00:00

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