Treat different opaque types of the same def id as equal during coherence
This commit is contained in:
parent
2752e328c9
commit
94fe30ff2f
17 changed files with 182 additions and 50 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue