Specialize panic_fmt lint for the {core,std}::panic!() macros.
It now only reacts to expansion of those macros, and suggests inserting `"{}", ` in the right place.
This commit is contained in:
parent
462ee9c1b5
commit
da66a501f6
2 changed files with 24 additions and 5 deletions
|
@ -393,6 +393,7 @@ symbols! {
|
|||
copysignf64,
|
||||
core,
|
||||
core_intrinsics,
|
||||
core_panic_macro,
|
||||
cosf32,
|
||||
cosf64,
|
||||
crate_id,
|
||||
|
@ -1064,6 +1065,7 @@ symbols! {
|
|||
staticlib,
|
||||
std,
|
||||
std_inject,
|
||||
std_panic_macro,
|
||||
stmt,
|
||||
stmt_expr_attributes,
|
||||
stop_after_dataflow,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue