rust/compiler/rustc_macros
David Wood 7b7061dd89 macros: spanless subdiagnostics from () fields
Type attributes could previously be used to support spanless
subdiagnostics but these couldn't easily be made optional in the same
way that spanned subdiagnostics could by using a field attribute on a
field with an `Option<Span>` type. Spanless subdiagnostics can now be
specified on fields with `()` type or `Option<()>` type.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-05-12 07:21:51 +01:00
..
src macros: spanless subdiagnostics from () fields 2022-05-12 07:21:51 +01:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00