diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-05-07 15:23:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-07 15:23:46 +0200 |
| commit | a6441973914de920db875f6968cd9e080ae87a6f (patch) | |
| tree | 6951fef91a8c952feaade6d021611c9b0b62fc7e /compiler/rustc_codegen_llvm/src | |
| parent | 3346d11f4e8521894377636f145bfc68fad10bea (diff) | |
| parent | af47257c0dfc5b38468417d36a465a613c675d6e (diff) | |
| download | rust-a6441973914de920db875f6968cd9e080ae87a6f.tar.gz rust-a6441973914de920db875f6968cd9e080ae87a6f.zip | |
Rollup merge of #96760 - davidtwco:diagnostic-translation-vec, r=oli-obk
diagnostics: port more diagnostics to derive + add support for `Vec` fields
- Port "unconstrained opaque type" diagnostic to using the derive.
- Allow `Vec` fields in diagnostic derive - enables support for diagnostics that have multiple primary spans, or have subdiagnostics repeated at multiple locations. `Vec<..>` fields in the diagnostic derive become loops in the generated code.
- Add `create_{err,warning}` - there wasn't a way to create a diagnostic from a struct and not emit it straight away.
- Port "explicit generic args w/ impl trait" diagnostic to using the derive.
r? `````@oli-obk`````
cc `````@pvdrz`````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
