mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
546ba3d310
Fixes issue 133118. This also modifies `tests/ui/moves/moved-value-on-as-ref-arg.rs` to have more useful bounds on the tests for suggestions to borrow `Borrow` and `BorrowMut` arguments. With its old tautological `T: BorrowMut<T>` bound, this fix would make it suggest a shared borrow for that argument. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |