rust/tests/ui/closures/2229_closure_analysis/migrations/old_name.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
240 B
Rust
Raw Normal View History

2021-06-29 09:05:32 -05:00
// 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() {}