Make gen
blocks implement the Iterator
trait
This commit is contained in:
parent
621494382d
commit
998a816106
17 changed files with 286 additions and 7 deletions
|
@ -1888,6 +1888,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
|
|||
| ClosureCandidate { .. }
|
||||
| CoroutineCandidate
|
||||
| FutureCandidate
|
||||
| IteratorCandidate
|
||||
| FnPointerCandidate { .. }
|
||||
| BuiltinObjectCandidate
|
||||
| BuiltinUnsizeCandidate
|
||||
|
@ -1916,6 +1917,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
|
|||
| ClosureCandidate { .. }
|
||||
| CoroutineCandidate
|
||||
| FutureCandidate
|
||||
| IteratorCandidate
|
||||
| FnPointerCandidate { .. }
|
||||
| BuiltinObjectCandidate
|
||||
| BuiltinUnsizeCandidate
|
||||
|
@ -1950,6 +1952,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
|
|||
| ClosureCandidate { .. }
|
||||
| CoroutineCandidate
|
||||
| FutureCandidate
|
||||
| IteratorCandidate
|
||||
| FnPointerCandidate { .. }
|
||||
| BuiltinObjectCandidate
|
||||
| BuiltinUnsizeCandidate
|
||||
|
@ -1964,6 +1967,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
|
|||
| ClosureCandidate { .. }
|
||||
| CoroutineCandidate
|
||||
| FutureCandidate
|
||||
| IteratorCandidate
|
||||
| FnPointerCandidate { .. }
|
||||
| BuiltinObjectCandidate
|
||||
| BuiltinUnsizeCandidate
|
||||
|
@ -2070,6 +2074,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
|
|||
| ClosureCandidate { .. }
|
||||
| CoroutineCandidate
|
||||
| FutureCandidate
|
||||
| IteratorCandidate
|
||||
| FnPointerCandidate { .. }
|
||||
| BuiltinObjectCandidate
|
||||
| BuiltinUnsizeCandidate
|
||||
|
@ -2080,6 +2085,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
|
|||
| ClosureCandidate { .. }
|
||||
| CoroutineCandidate
|
||||
| FutureCandidate
|
||||
| IteratorCandidate
|
||||
| FnPointerCandidate { .. }
|
||||
| BuiltinObjectCandidate
|
||||
| BuiltinUnsizeCandidate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue