diff options
| author | David Wood <david.wood@huawei.com> | 2022-04-27 04:28:21 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-04-29 02:12:10 +0100 |
| commit | 2647a4812c87c1fd9535d0c26db2b5f6433075d0 (patch) | |
| tree | 2e8119e48ccda1d4f2714bd084faf80e7d16a523 /compiler/rustc_macros/src/diagnostics/utils.rs | |
| parent | 36a396ce51391ff6b0c41898a4c21fc6d303c4a4 (diff) | |
| download | rust-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
