mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
3d31c2157a
Fix `boxed_local` suggestion Don't warn about an argument that is moved into a closure. ExprUseVisitor doesn't walk into nested bodies so use a new visitor that collects the variables that are moved into closures. Fixes #3739