Make deprecated_cfg_attr_crate_type_name a hard error
This commit is contained in:
parent
4428a05167
commit
00ed47b849
12 changed files with 60 additions and 118 deletions
|
@ -2441,14 +2441,6 @@ pub(crate) struct DuplicateMacroAttribute;
|
|||
#[diag(lint_cfg_attr_no_attributes)]
|
||||
pub(crate) struct CfgAttrNoAttributes;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_crate_type_in_cfg_attr_deprecated)]
|
||||
pub(crate) struct CrateTypeInCfgAttr;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_crate_name_in_cfg_attr_deprecated)]
|
||||
pub(crate) struct CrateNameInCfgAttr;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_missing_fragment_specifier)]
|
||||
pub(crate) struct MissingFragmentSpecifier;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue