Stop using in_band_lifetimes
This commit is contained in:
parent
fccf07bae5
commit
02ec39b2ff
77 changed files with 216 additions and 189 deletions
|
|
@ -54,7 +54,7 @@ declare_clippy_lint! {
|
|||
|
||||
declare_lint_pass!(DefaultNumericFallback => [DEFAULT_NUMERIC_FALLBACK]);
|
||||
|
||||
impl LateLintPass<'_> for DefaultNumericFallback {
|
||||
impl<'tcx> LateLintPass<'tcx> for DefaultNumericFallback {
|
||||
fn check_body(&mut self, cx: &LateContext<'tcx>, body: &'tcx Body<'_>) {
|
||||
let mut visitor = NumericFallbackVisitor::new(cx);
|
||||
visitor.visit_body(body);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue