Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
closures
/
2229_closure_analysis
/
migrations
/
old_name.rs
blob: 16e3cca7b7714703ae5a0e786a3f201588d5d146 [
file
] [
log
] [
blame
]
// 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
()
{}