rust/compiler/rustc_middle/src/middle
Nicholas Nethercote 2620eb42d7 Re-export more rustc_span::symbol things from rustc_span.
`rustc_span::symbol` defines some things that are re-exported from
`rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some
closely related things such as `Ident` and `kw`. So you can do `use
rustc_span::{Symbol, sym}` but you have to do `use
rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good
reason.

This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`,
and changes many `rustc_span::symbol::` qualifiers in `compiler/` to
`rustc_span::`. This is a 200+ net line of code reduction, mostly
because many files with two `use rustc_span` items can be reduced to
one.
2024-12-18 13:38:53 +11:00
..
codegen_fn_attrs.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
debugger_visualizer.rs fix clippy::clone_on_ref_ptr for compiler 2024-10-28 18:05:08 +03:00
dependency_format.rs Make dependency_formats an FxIndexMap rather than a list of tuples 2024-12-13 11:29:15 +00:00
exported_symbols.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lang_items.rs Pretty print AsyncFn traits too 2024-11-22 16:55:28 +00:00
limits.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
mod.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
privacy.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
region.rs reduce false positives of tail-expr-drop-order from consumed values 2024-11-20 20:53:11 +08:00
resolve_bound_vars.rs Remap impl-trait lifetimes on HIR instead of AST lowering. 2024-10-30 16:18:50 +00:00
stability.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00