Reword message
This commit is contained in:
parent
fe7ed278b7
commit
835d434c79
6 changed files with 20 additions and 20 deletions
|
@ -444,8 +444,8 @@ pub(super) fn decorate_lint(
|
|||
lints::InnerAttributeUnstable::CustomInnerAttribute
|
||||
}
|
||||
.decorate_lint(diag),
|
||||
BuiltinLintDiag::OutOfScopeMacroCalls { span, path, scope } => {
|
||||
lints::OutOfScopeMacroCalls { span, path, scope }.decorate_lint(diag)
|
||||
BuiltinLintDiag::OutOfScopeMacroCalls { span, path, location } => {
|
||||
lints::OutOfScopeMacroCalls { span, path, location }.decorate_lint(diag)
|
||||
}
|
||||
BuiltinLintDiag::UnexpectedBuiltinCfg { cfg, cfg_name, controlled_by } => {
|
||||
lints::UnexpectedBuiltinCfg { cfg, cfg_name, controlled_by }.decorate_lint(diag)
|
||||
|
|
|
@ -3111,7 +3111,7 @@ pub(crate) struct OutOfScopeMacroCalls {
|
|||
#[label]
|
||||
pub span: Span,
|
||||
pub path: String,
|
||||
pub scope: String,
|
||||
pub location: String,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue