Remove redundant call to erase_and_anonymize_regions.
The exact same call appears earlier in this function.
This commit is contained in:
parent
71d1b2ca7f
commit
02e0879c5d
1 changed files with 0 additions and 2 deletions
|
|
@ -222,8 +222,6 @@ fn resolve_associated_item<'tcx>(
|
|||
return Err(guar);
|
||||
}
|
||||
|
||||
let args = tcx.erase_and_anonymize_regions(args);
|
||||
|
||||
// We check that the impl item is compatible with the trait item
|
||||
// because otherwise we may ICE in const eval due to type mismatches,
|
||||
// signature incompatibilities, etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue