diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-03 17:03:10 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-08 15:45:29 +1100 |
| commit | e6570dccccd85f5bfc8497bbd4db615f1d2fdbd2 (patch) | |
| tree | 0ecb84f9e63f63331f86a5661e557d66408ef2a6 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0cfbc47b9a32735659f8347872c571bdfeba8424 (diff) | |
| download | rust-e6570dccccd85f5bfc8497bbd4db615f1d2fdbd2.tar.gz rust-e6570dccccd85f5bfc8497bbd4db615f1d2fdbd2.zip | |
Use chaining for `DiagnosticBuilder` construction and `emit`.
To avoid the use of a mutable local variable, and because it reads more nicely.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
