about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-17 11:01:26 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-18 07:17:35 +1100
commit706eb1604b45e922858e04cf6abee7e58aa92730 (patch)
tree0576dc526782dab8f3c1c33edb3f8d93e12540a2 /compiler/rustc_codegen_gcc/src/errors.rs
parente886137e18e7bd312b1bd5e3ee9364734673b23c (diff)
downloadrust-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