Don't pass lint back out of lint decorator
This commit is contained in:
parent
4d1bd0db7f
commit
7f565ed282
38 changed files with 50 additions and 116 deletions
|
@ -273,7 +273,6 @@ fn overlap<'tcx>(
|
|||
causing the impls to overlap",
|
||||
infcx.resolve_vars_if_possible(failing_obligation.predicate)
|
||||
));
|
||||
lint
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
@ -194,7 +194,6 @@ fn lint_object_unsafe_trait(
|
|||
// Only provide the help if its a local trait, otherwise it's not
|
||||
violation.solution().add_to(err);
|
||||
}
|
||||
err
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
@ -450,7 +450,6 @@ fn report_conflicting_impls<'tcx>(
|
|||
msg,
|
||||
|err| {
|
||||
decorate(tcx, &overlap, impl_span, err);
|
||||
err
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue