inline format!() args up to and including rustc_middle
This commit is contained in:
parent
2e0136a131
commit
23815467a2
87 changed files with 378 additions and 437 deletions
|
@ -179,8 +179,7 @@ impl<'a> Visitor<'a> for CollectProcMacros<'a> {
|
|||
== prev_item.path.segments[0].ident.name
|
||||
{
|
||||
format!(
|
||||
"only one `#[{}]` attribute is allowed on any given function",
|
||||
path_str,
|
||||
"only one `#[{path_str}]` attribute is allowed on any given function",
|
||||
)
|
||||
} else {
|
||||
format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue