Skip to content

Commit

Permalink
Rename *note_without_error as *note.
Browse files Browse the repository at this point in the history
Because the variant name in `Level` is `Note`, and the `without_error`
suffix is omitted in similar cases like `struct_allow` and
`struct_help`.
  • Loading branch information
nnethercote committed Dec 1, 2023
1 parent 071f8f6 commit dc702e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {
Expand Down

0 comments on commit dc702e3

Please sign in to comment.