We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c87772 commit 3a45bb9Copy full SHA for 3a45bb9
compiler/rustc_typeck/src/check/upvar.rs
@@ -1829,7 +1829,10 @@ fn var_name(tcx: TyCtxt<'_>, var_hir_id: hir::HirId) -> Symbol {
1829
tcx.hir().name(var_hir_id)
1830
}
1831
1832
-fn should_do_rust_2021_incompatible_closure_captures_analysis(tcx: TyCtxt<'_>, closure_id: hir::HirId) -> bool {
+fn should_do_rust_2021_incompatible_closure_captures_analysis(
1833
+ tcx: TyCtxt<'_>,
1834
+ closure_id: hir::HirId,
1835
+) -> bool {
1836
let (level, _) =
1837
tcx.lint_level_at_node(lint::builtin::RUST_2021_INCOMPATIBLE_CLOSURE_CAPTURES, closure_id);
1838
0 commit comments