1
Fork 0

Treat different opaque types of the same def id as equal during coherence

This commit is contained in:
Oli Scherer 2022-10-27 12:00:21 +00:00
parent 2752e328c9
commit 94fe30ff2f
17 changed files with 182 additions and 50 deletions

View file

@ -244,6 +244,10 @@ impl<'tcx> TypeRelation<'tcx> for SimpleEqRelation<'tcx> {
self.tcx
}
fn intercrate(&self) -> bool {
false
}
fn param_env(&self) -> ty::ParamEnv<'tcx> {
self.param_env
}