diff options
| author | David Wood <david.wood@huawei.com> | 2022-04-27 05:43:36 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-04-29 02:12:10 +0100 |
| commit | e5d9371b302ff0d368ea6e075769eb4b2709b2ba (patch) | |
| tree | 6a5de85fdcd1e9a5286819c4d1b2bada3784cbb7 /compiler/rustc_codegen_gcc | |
| parent | e8ee0d7a20432bafaa59c04a9ad99c3b040d395f (diff) | |
| download | rust-e5d9371b302ff0d368ea6e075769eb4b2709b2ba.tar.gz rust-e5d9371b302ff0d368ea6e075769eb4b2709b2ba.zip | |
macros: allow setting applicability in attribute
In the initial implementation of the `SessionSubdiagnostic`, the `Applicability` of a suggestion can be set both as a field and as part of the attribute, this commit adds the same support to the original `SessionDiagnostic` derive. Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
