Skip to content

Commit d0143cf

Browse files
Fix one new error due to a formatted block
1 parent b2d2184 commit d0143cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_build/src/thir/pattern/check_match.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ fn check_for_bindings_named_same_as_variants(
569569
.any(|variant| variant.name == name && variant.ctor_kind() == Some(CtorKind::Const))
570570
{
571571
let variant_count = edef.variants().len();
572-
let ty_path = with_no_trimmed_paths!({ cx.tcx.def_path_str(edef.did()) });
572+
let ty_path = with_no_trimmed_paths!(cx.tcx.def_path_str(edef.did()));
573573
cx.tcx.emit_spanned_lint(
574574
BINDINGS_WITH_VARIANT_NAME,
575575
cx.lint_level,

0 commit comments

Comments
 (0)