mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
This annotates the `Arc` type with the diagnostic attribute `#[diagnostic::on_move]`. Now when a moved `Arc` is borrowed, a suggestion to clone it is made, with a label explaining why.