From 7434b9f0d1e1587dc97829ffbc65a5afdf04fb7e Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Fri, 7 Oct 2022 15:59:39 +0000 Subject: fixup lint name --- compiler/rustc_ast/src/visit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_ast') diff --git a/compiler/rustc_ast/src/visit.rs b/compiler/rustc_ast/src/visit.rs index c6c80e613e3..145b31842ef 100644 --- a/compiler/rustc_ast/src/visit.rs +++ b/compiler/rustc_ast/src/visit.rs @@ -246,7 +246,7 @@ pub trait Visitor<'ast>: Sized { macro_rules! walk_list { ($visitor: expr, $method: ident, $list: expr $(, $($extra_args: expr),* )?) => { { - #[cfg_attr(not(bootstrap), allow(for_loop_over_fallibles))] + #[cfg_attr(not(bootstrap), allow(for_loops_over_fallibles))] for elem in $list { $visitor.$method(elem $(, $($extra_args,)* )?) } -- cgit 1.4.1-3-g733a5