@@ -4,9 +4,7 @@ use rustc_ast::token::Delimiter;
44use rustc_ast:: tokenstream:: DelimSpan ;
55use rustc_ast:: { AttrItem , Attribute , LitKind , ast, token} ;
66use rustc_errors:: { Applicability , Diagnostic , PResult , msg} ;
7- use rustc_feature:: {
8- AttrSuggestionStyle , AttributeTemplate , Features , GatedCfg , find_gated_cfg, template,
9- } ;
7+ use rustc_feature:: { Features , GatedCfg , find_gated_cfg} ;
108use rustc_hir:: attrs:: CfgEntry ;
119use rustc_hir:: { AttrPath , RustcVersion , Target } ;
1210use rustc_parse:: parser:: { ForceCollect , Parser , Recovery } ;
@@ -28,7 +26,10 @@ use crate::session_diagnostics::{
2826 AttributeParseError , AttributeParseErrorReason , CfgAttrBadDelim , MetaBadDelimSugg ,
2927 ParsedDescription ,
3028} ;
31- use crate :: { AttributeParser , check_cfg, parse_version, session_diagnostics} ;
29+ use crate :: {
30+ AttrSuggestionStyle , AttributeParser , AttributeTemplate , check_cfg, parse_version,
31+ session_diagnostics, template,
32+ } ;
3233
3334pub const CFG_TEMPLATE : AttributeTemplate = template ! (
3435 List : & [ "predicate" ] ,
0 commit comments