diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-11 11:22:10 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-11 16:55:10 +1100 |
| commit | fbe68bc40c6e49efa3a6ec4aa2640786853f2479 (patch) | |
| tree | a9abdabe27135363fcb7aa9d0b760715379ac40b /compiler/rustc_parse/src/lexer/unicode_chars.rs | |
| parent | 29c601aa0b6a1661f22da160be3ff58b6d79fe67 (diff) | |
| download | rust-fbe68bc40c6e49efa3a6ec4aa2640786853f2479.tar.gz rust-fbe68bc40c6e49efa3a6ec4aa2640786853f2479.zip | |
Stop using `DiagnosticBuilder::buffer` in `BorrowckErrors`.
But we can't easily switch from `Vec<Diagnostic>` to `Vec<DiagnosticBuilder<G>>` because there's a mix of errors and warnings which result in different `G` types. So we must make `DiagnosticBuilder::into_diagnostic` public, but that's ok, and it will get more use in subsequent commits.
Diffstat (limited to 'compiler/rustc_parse/src/lexer/unicode_chars.rs')
0 files changed, 0 insertions, 0 deletions
