1
Fork 0

tweak pass description and fix lint fail post-rebase

This commit is contained in:
Arthur Lafrance 2023-10-16 01:17:52 -07:00
parent 5895102c4d
commit 52ad8199d5
2 changed files with 2 additions and 2 deletions

View file

@ -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
}