about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/utils.rs
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-04-27 04:28:21 +0100
committerDavid Wood <david.wood@huawei.com>2022-04-29 02:12:10 +0100
commit2647a4812c87c1fd9535d0c26db2b5f6433075d0 (patch)
tree2e8119e48ccda1d4f2714bd084faf80e7d16a523 /compiler/rustc_macros/src/diagnostics/utils.rs
parent36a396ce51391ff6b0c41898a4c21fc6d303c4a4 (diff)
downloadrust-2647a4812c87c1fd9535d0c26db2b5f6433075d0.tar.gz
rust-2647a4812c87c1fd9535d0c26db2b5f6433075d0.zip
macros: reuse `SetOnce` trait in diagnostic derive
`SetOnce` trait was introduced in the subdiagnostic derive to simplify
the code a little bit, re-use it in the diagnostic derive too.

Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/utils.rs')
0 files changed, 0 insertions, 0 deletions