summaryrefslogtreecommitdiffstats
path: root/src/test/ui/closures/2229_closure_analysis/migrations/old_name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/closures/2229_closure_analysis/migrations/old_name.rs')
-rw-r--r--src/test/ui/closures/2229_closure_analysis/migrations/old_name.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/closures/2229_closure_analysis/migrations/old_name.rs b/src/test/ui/closures/2229_closure_analysis/migrations/old_name.rs
deleted file mode 100644
index 16e3cca7b..000000000
--- a/src/test/ui/closures/2229_closure_analysis/migrations/old_name.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-// check-pass
-
-// Ensure that the old name for `rust_2021_incompatible_closure_captures` is still
-// accepted by the compiler
-
-#![allow(disjoint_capture_migration)]
-//~^ WARN lint `disjoint_capture_migration` has been renamed
-
-fn main() {}