rustc: treat ReEarlyBound as free without replacing it with ReFree.
This commit is contained in:
parent
dbae169ac1
commit
2da080e779
35 changed files with 250 additions and 334 deletions
|
|
@ -506,11 +506,7 @@ impl<'tcx> fmt::Debug for ty::ClosureUpvar<'tcx> {
|
|||
|
||||
impl<'tcx> fmt::Debug for ty::ParameterEnvironment<'tcx> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "ParameterEnvironment(\
|
||||
free_substs={:?}, \
|
||||
caller_bounds={:?})",
|
||||
self.free_substs,
|
||||
self.caller_bounds)
|
||||
write!(f, "ParameterEnvironment({:?})", self.caller_bounds)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue