undo one for Sized? removal that was in a comment
This commit is contained in:
parent
c26f5801f5
commit
eb50d3ee01
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ impl<'cx, 'tcx> Elaborator<'cx, 'tcx> {
|
|||
// seen. This is necessary to prevent infinite
|
||||
// recursion in some cases. One common case is when
|
||||
// people define `trait Sized { }` rather than `trait
|
||||
// Sized { }`.
|
||||
// Sized for Sized? { }`.
|
||||
predicates.retain(|r| self.visited.insert(r.clone()));
|
||||
|
||||
self.stack.push(StackEntry { position: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue