Simplify some redundant field names
This commit is contained in:
parent
636d7ff91b
commit
0b2525c787
16 changed files with 19 additions and 30 deletions
|
@ -770,7 +770,7 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
let reported =
|
||||
tcx.dcx().emit_err(UnableToConstructConstantValue {
|
||||
span: tcx.def_span(unevaluated.def),
|
||||
unevaluated: unevaluated,
|
||||
unevaluated,
|
||||
});
|
||||
Err(ErrorHandled::Reported(reported.into(), tcx.def_span(unevaluated.def)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue