mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 20:20:59 +03:00
f7b42102e6
Implement `IntoDiagnosticArg` for `&'a T` when `T` implements `IntoDiagnosticArg` and `Clone`. Makes it easier to write diagnostic structs that borrow something which implements `IntoDiagnosticArg`. Signed-off-by: David Wood <david.wood@huawei.com>