rust/compiler/rustc_lint
Chris Denton 5633102807
Rollup merge of #140345 - DaniPopes:get-def-path, r=Urgau
Avoid re-interning in `LateContext::get_def_path`

The def path printer in `get_def_path` essentially calls `Symbol::intern(&symbol.to_string())` for simple symbols in a path. This accounts for ~30% of the runtime of get_def_path.

We can avoid this by simply appending the symbol directly when available.
2025-04-28 01:58:50 +00:00
..
src Rollup merge of #140345 - DaniPopes:get-def-path, r=Urgau 2025-04-28 01:58:50 +00:00
Cargo.toml Stop relying on rustc_type_ir in non-type-system crates 2025-03-15 06:42:48 +00:00
messages.ftl Add hard error for extern without explicit ABI 2025-04-16 22:43:56 +03:00