pub fn emit_rename(
ctx: &LintContext<'_, '_>,
lint: &'static SolLint,
span: Span,
expected: String,
)Expand description
Emits lint at span with a machine-applicable rename to expected.
pub fn emit_rename(
ctx: &LintContext<'_, '_>,
lint: &'static SolLint,
span: Span,
expected: String,
)Emits lint at span with a machine-applicable rename to expected.