]> git.proxmox.com Git - rustc.git/blob - src/test/ui/closures/2229_closure_analysis/migrations/old_name.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / closures / 2229_closure_analysis / migrations / old_name.rs
1 // check-pass
2
3 // Ensure that the old name for `rust_2021_incompatible_closure_captures` is still
4 // accepted by the compiler
5
6 #![allow(disjoint_capture_migration)]
7 //~^ WARN lint `disjoint_capture_migration` has been renamed
8
9 fn main() {}