File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_mir_build/src/thir/pattern
tests/ui/const-generics/generic_const_exprs Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change 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
44Box<dyn Any>
You can’t perform that action at this time.
0 commit comments