about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-15 20:50:47 +0200
committerGitHub <noreply@github.com>2022-04-15 20:50:47 +0200
commitba9c3a13ee6a240d979f41e061c3a76336f59b63 (patch)
tree86ee4614fbe0ba21a17ce193f278252aa54309ba /compiler/rustc_expand/src
parent747829428b41ce182c62c019426f84e1447dfead (diff)
parent7c2d57e0fa1615d993a4b4166163fb0b3ec7d395 (diff)
downloadrust-ba9c3a13ee6a240d979f41e061c3a76336f59b63.tar.gz
rust-ba9c3a13ee6a240d979f41e061c3a76336f59b63.zip
Rollup merge of #96026 - matthiaskrgr:clippy_compl_1304, r=Dylan-DPC
couple of clippy::complexity fixes
Diffstat (limited to 'compiler/rustc_expand/src')
-rw-r--r--compiler/rustc_expand/src/mbe/macro_check.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/mbe/macro_check.rs b/compiler/rustc_expand/src/mbe/macro_check.rs
index 4298475767e..c6a6e3d125f 100644
--- a/compiler/rustc_expand/src/mbe/macro_check.rs
+++ b/compiler/rustc_expand/src/mbe/macro_check.rs
@@ -270,7 +270,7 @@ fn check_binders(
                     MISSING_FRAGMENT_SPECIFIER,
                     span,
                     node_id,
-                    &format!("missing fragment specifier"),
+                    "missing fragment specifier",
                 );
             }
             if !macros.is_empty() {