Merge #6176
6176: add eprintln in fmt-like postfix r=SomeoneToIgnore a=bnjjj Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
This commit is contained in:
commit
05261f5aeb
@ -25,6 +25,7 @@
|
||||
("fmt", "format!"),
|
||||
("panic", "panic!"),
|
||||
("println", "println!"),
|
||||
("eprintln", "eprintln!"),
|
||||
("logd", "log::debug!"),
|
||||
("logt", "log::trace!"),
|
||||
("logi", "log::info!"),
|
||||
@ -259,6 +260,7 @@ fn format_str_parser() {
|
||||
fn test_into_suggestion() {
|
||||
let test_vector = &[
|
||||
("println!", "{}", r#"println!("{}", $1)"#),
|
||||
("eprintln!", "{}", r#"eprintln!("{}", $1)"#),
|
||||
(
|
||||
"log::info!",
|
||||
"{} {expr} {} {2 + 2}",
|
||||
|
Loading…
Reference in New Issue
Block a user