about summary refs log tree commit diff
path: root/compiler/rustc_incremental/src/errors.rs
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-08-30 17:00:20 +0100
committerDavid Wood <david.wood@huawei.com>2023-01-30 17:11:34 +0000
commitf7b42102e68537c6b0bbb3a1e83c9db69820dfb3 (patch)
tree4d68aca42bfbb5355e5a37ef9448e414cc549bed /compiler/rustc_incremental/src/errors.rs
parent59cc5e5d59796f5817d46b31450923597d9f8ae7 (diff)
downloadrust-f7b42102e68537c6b0bbb3a1e83c9db69820dfb3.tar.gz
rust-f7b42102e68537c6b0bbb3a1e83c9db69820dfb3.zip
errors: implement `IntoDiagnosticArg` for `&T`
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>
Diffstat (limited to 'compiler/rustc_incremental/src/errors.rs')
0 files changed, 0 insertions, 0 deletions