rust/compiler/rustc_query_system/src
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
..
dep_graph Make sure to record deps from cached task in new solver on first run 2024-12-04 16:15:44 +00:00
ich Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
query Rename ty_def_id so people will stop using it by accident 2024-12-13 16:36:38 +00:00
cache.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
error.rs Add warn(unreachable_pub) to rustc_query_system. 2024-08-29 20:18:44 +10:00
lib.rs Improve VecCache under parallel frontend 2024-11-15 18:20:32 -05:00
values.rs Value recovery can take the whole CycleError 2024-01-08 20:30:10 +00:00