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 | bd4e623485f383b478fae662a767a3129bb4b989 (patch) | |
| tree | fe4207cae336d51d0c29fd430b1d402d1de8339e /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | 589591efde6c54baa8b7932ec3be6f45dc9d781f (diff) | |
| download | rust-bd4e623485f383b478fae662a767a3129bb4b989.tar.gz rust-bd4e623485f383b478fae662a767a3129bb4b989.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_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
