diff options
| author | David Wood <david.wood@huawei.com> | 2022-05-07 06:02:11 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-05-12 07:21:51 +0100 |
| commit | 7b7061dd898b5a9c06477941e2d0840e27b9c67b (patch) | |
| tree | 9a1134b917032ed2345f64f1ba21daf59266d223 /src/test/codegen/src-hash-algorithm | |
| parent | 1d2ea98cff1fde1d8b9e83a0eb639b8ec2cb82d8 (diff) | |
| download | rust-7b7061dd898b5a9c06477941e2d0840e27b9c67b.tar.gz rust-7b7061dd898b5a9c06477941e2d0840e27b9c67b.zip | |
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>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
