Skip to content

Commit e805151

Browse files
Bless tests and new warnings due to formatting changes
1 parent b2d2184 commit e805151

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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,

tests/ui/const-generics/generic_const_exprs/issue-80742.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: internal compiler error: compiler/rustc_const_eval/src/interpret/step.rs:272:21: SizeOf MIR operator called for unsized type dyn Debug
1+
error: internal compiler error: compiler/rustc_const_eval/src/interpret/step.rs:274:21: SizeOf MIR operator called for unsized type dyn Debug
22
--> $SRC_DIR/core/src/mem/mod.rs:LL:COL
33

44
Box<dyn Any>

0 commit comments

Comments
 (0)