Skip to content

Commit

Permalink
Respect MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Jan 9, 2025
1 parent e7f2618 commit 0992426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/macro-support/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2216,7 +2216,7 @@ pub fn check_unused_attrs(tokens: &mut TokenStream) {
if !unused_attrs.is_empty() {
let unused_attrs = unused_attrs.iter().map(|UnusedState { error, ident }| {
if *error {
let text = format!("invalid attribute {ident} in this position");
let text = format!("invalid attribute {} in this position", ident);
quote::quote! { ::core::compile_error!(#text); }
} else {
quote::quote! { let #ident: (); }
Expand Down

0 comments on commit 0992426

Please sign in to comment.