rustc: treat ReEarlyBound as free without replacing it with ReFree.

This commit is contained in:
Eduard-Mihai Burtescu 2017-05-11 15:05:00 +03:00
parent dbae169ac1
commit 2da080e779
35 changed files with 250 additions and 334 deletions

View file

@ -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)
}
}