tweak pass description and fix lint fail post-rebase
This commit is contained in:
parent
5895102c4d
commit
52ad8199d5
2 changed files with 2 additions and 2 deletions
|
@ -541,7 +541,7 @@ impl LateLintPass<'_> for BadOptAccess {
|
|||
declare_tool_lint! {
|
||||
pub rustc::SPAN_USE_EQ_CTXT,
|
||||
Allow,
|
||||
"Use of `==` with `Span::ctxt` rather than `Span::eq_ctxt`",
|
||||
"forbid uses of `==` with `Span::ctxt`, suggest `Span::eq_ctxt` instead",
|
||||
report_in_external_macro: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue