Skip to content

Commit dc702e3

Browse files
committed
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`.
1 parent 071f8f6 commit dc702e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pub fn main() {
183183
// as simple as moving the call from the hook to main, because `install_ice_hook` doesn't
184184
// accept a generic closure.
185185
let version_info = rustc_tools_util::get_version_info!();
186-
handler.note_without_error(format!("Clippy version: {version_info}"));
186+
handler.note(format!("Clippy version: {version_info}"));
187187
});
188188

189189
exit(rustc_driver::catch_with_exit_code(move || {

0 commit comments

Comments
 (0)