diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-30 14:01:35 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-02 08:58:25 +1100 |
| commit | dc702e358d98068bd6f38efa513869fa75104c5a (patch) | |
| tree | f8de35f3cce1e2403af7c59f28b73319fe61dcea | |
| parent | 071f8f610dbf9d288c0b3e37597351abe17b7aed (diff) | |
| download | rust-dc702e358d98068bd6f38efa513869fa75104c5a.tar.gz rust-dc702e358d98068bd6f38efa513869fa75104c5a.zip | |
Rename `*note_without_error` as `*note`.
Because the variant name in `Level` is `Note`, and the `without_error` suffix is omitted in similar cases like `struct_allow` and `struct_help`.
| -rw-r--r-- | src/driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs index 1ae8ac81695..49f0cad08e0 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -183,7 +183,7 @@ pub fn main() { // as simple as moving the call from the hook to main, because `install_ice_hook` doesn't // accept a generic closure. let version_info = rustc_tools_util::get_version_info!(); - handler.note_without_error(format!("Clippy version: {version_info}")); + handler.note(format!("Clippy version: {version_info}")); }); exit(rustc_driver::catch_with_exit_code(move || { |
