diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-17 11:01:26 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-18 07:17:35 +1100 |
| commit | 706eb1604b45e922858e04cf6abee7e58aa92730 (patch) | |
| tree | 0576dc526782dab8f3c1c33edb3f8d93e12540a2 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | e886137e18e7bd312b1bd5e3ee9364734673b23c (diff) | |
| download | rust-706eb1604b45e922858e04cf6abee7e58aa92730.tar.gz rust-706eb1604b45e922858e04cf6abee7e58aa92730.zip | |
Rename `early_error_handler` as `default_handler`.
Yes, its type is `EarlyErrorHandler`, but there is another value of that type later on in the function called `handler` that is initialized with `sopts.error_format`. So `default_handler` is a better name because it clarifies that it is initialized with `ErrorOutputType::default()`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
