Bless tests and new warnings due to formatting changes
This commit is contained in:
parent
b2d2184ede
commit
e805151fd4
2 changed files with 2 additions and 2 deletions
|
@ -569,7 +569,7 @@ fn check_for_bindings_named_same_as_variants(
|
|||
.any(|variant| variant.name == name && variant.ctor_kind() == Some(CtorKind::Const))
|
||||
{
|
||||
let variant_count = edef.variants().len();
|
||||
let ty_path = with_no_trimmed_paths!({ cx.tcx.def_path_str(edef.did()) });
|
||||
let ty_path = with_no_trimmed_paths!(cx.tcx.def_path_str(edef.did()));
|
||||
cx.tcx.emit_spanned_lint(
|
||||
BINDINGS_WITH_VARIANT_NAME,
|
||||
cx.lint_level,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
error: internal compiler error: compiler/rustc_const_eval/src/interpret/step.rs:272:21: SizeOf MIR operator called for unsized type dyn Debug
|
||||
error: internal compiler error: compiler/rustc_const_eval/src/interpret/step.rs:274:21: SizeOf MIR operator called for unsized type dyn Debug
|
||||
--> $SRC_DIR/core/src/mem/mod.rs:LL:COL
|
||||
|
||||
Box<dyn Any>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue