From df71a99a0ea8d89cb1ec9281a6a24a8710c37c9d Mon Sep 17 00:00:00 2001 From: Ryan Levick Date: Tue, 29 Jun 2021 16:05:32 +0200 Subject: Rename lint --- compiler/rustc_lint/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_lint/src') diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index 89f9809d643..b3b759a466a 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -325,6 +325,7 @@ fn register_builtins(store: &mut LintStore, no_interleave_lints: bool) { store.register_renamed("redundant_semicolon", "redundant_semicolons"); store.register_renamed("overlapping_patterns", "overlapping_range_endpoints"); store.register_renamed("safe_packed_borrows", "unaligned_references"); + store.register_renamed("disjoint_capture_migration", "rust_2021_incompatible_closure_captures"); // These were moved to tool lints, but rustc still sees them when compiling normally, before // tool lints are registered, so `check_tool_name_for_backwards_compat` doesn't work. Use -- cgit 1.4.1-3-g733a5