diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-03 16:00:29 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-08 15:43:07 +1100 |
| commit | 589591efde6c54baa8b7932ec3be6f45dc9d781f (patch) | |
| tree | 111b41a6211a9101546d182d294f552734c092c6 /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | b1b9278851a9512a0c934c12f9c1800169c336f7 (diff) | |
| download | rust-589591efde6c54baa8b7932ec3be6f45dc9d781f.tar.gz rust-589591efde6c54baa8b7932ec3be6f45dc9d781f.zip | |
Use chaining in `DiagnosticBuilder` construction.
To avoid the use of a mutable local variable, and because it reads more nicely.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
