diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-15 20:50:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-15 20:50:47 +0200 |
| commit | ba9c3a13ee6a240d979f41e061c3a76336f59b63 (patch) | |
| tree | 86ee4614fbe0ba21a17ce193f278252aa54309ba /compiler/rustc_expand/src | |
| parent | 747829428b41ce182c62c019426f84e1447dfead (diff) | |
| parent | 7c2d57e0fa1615d993a4b4166163fb0b3ec7d395 (diff) | |
| download | rust-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.rs | 2 |
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() { |
