Rollup merge of #104909 - compiler-errors:normalize_opaque_types-is-misleading, r=fee1-dead

Rename `normalize_opaque_types` to `reveal_opaque_types_in_bounds`

1. The query name is a bit misleading, since it doesn't do any associated type normalization, and
2. since it only takes a predicate list, it sounds a bit more powerful than it actually is.
This commit is contained in:
Guillaume Gomez
2022-11-26 17:47:24 +01:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

View File

@@ -1747,7 +1747,7 @@ impl<'tcx> ParamEnv<'tcx> {
}
ParamEnv::new(
tcx.normalize_opaque_types(self.caller_bounds()),
tcx.reveal_opaque_types_in_bounds(self.caller_bounds()),
Reveal::All,
self.constness(),
)