blob: 5f9e7d295bae156c26eeb280f13766bc525ab067 (
plain)
1
2
3
4
5
6
7
8
9
|
//@ 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() {}
|