Make Cfg
and CheckCfg
non-generic.
They now only ever contains symbols.
This commit is contained in:
parent
8e4ac980fd
commit
5c6a12c1af
5 changed files with 20 additions and 40 deletions
|
@ -188,8 +188,8 @@ pub fn add_feature_diagnostics_for_issue(
|
|||
pub struct ParseSess {
|
||||
pub span_diagnostic: Handler,
|
||||
pub unstable_features: UnstableFeatures,
|
||||
pub config: Cfg<Symbol>,
|
||||
pub check_config: CheckCfg<Symbol>,
|
||||
pub config: Cfg,
|
||||
pub check_config: CheckCfg,
|
||||
pub edition: Edition,
|
||||
/// Places where raw identifiers were used. This is used to avoid complaining about idents
|
||||
/// clashing with keywords in new editions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue