Rename LintLevelsBuilder::struct_lint
as LintLevelsBuilder::opt_span_lint
.
This commit is contained in:
parent
1881bfaa2b
commit
749afe2050
3 changed files with 3 additions and 3 deletions
|
@ -387,7 +387,7 @@ fn report_conflicting_impls<'tcx>(
|
|||
let impl_span = tcx.def_span(impl_def_id);
|
||||
|
||||
// Work to be done after we've built the DiagnosticBuilder. We have to define it
|
||||
// now because the struct_lint methods don't return back the DiagnosticBuilder
|
||||
// now because the lint emit methods don't return back the DiagnosticBuilder
|
||||
// that's passed in.
|
||||
fn decorate<'tcx>(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue