mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Remove redundant call to erase_and_anonymize_regions.
The exact same call appears earlier in this function.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user