about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-04-27 05:43:36 +0100
committerDavid Wood <david.wood@huawei.com>2022-04-29 02:12:10 +0100
commite5d9371b302ff0d368ea6e075769eb4b2709b2ba (patch)
tree6a5de85fdcd1e9a5286819c4d1b2bada3784cbb7 /compiler/rustc_codegen_gcc
parente8ee0d7a20432bafaa59c04a9ad99c3b040d395f (diff)
downloadrust-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