Fix merge conflicts
This commit is contained in:
parent
5f4a99fa8b
commit
63477fdece
1 changed files with 9 additions and 0 deletions
|
|
@ -293,12 +293,20 @@ impl<'c, 'b, 'a: 'b+'c, 'gcx, 'tcx: 'a> DataflowResultsConsumer<'b, 'gcx>
|
|||
(index, span), flow_state);
|
||||
}
|
||||
AssertMessage::Math(_/*const_math_err*/) => {}
|
||||
AssertMessage::GeneratorResumedAfterReturn => {}
|
||||
AssertMessage::GeneratorResumedAfterPanic => {}
|
||||
}
|
||||
}
|
||||
|
||||
TerminatorKind::Yield { ref value, resume: _, drop: _} => {
|
||||
self.consume_operand(ContextKind::Yield.new(loc),
|
||||
Consume, (value, span), flow_state);
|
||||
}
|
||||
|
||||
TerminatorKind::Goto { target: _ } |
|
||||
TerminatorKind::Resume |
|
||||
TerminatorKind::Return |
|
||||
TerminatorKind::GeneratorDrop |
|
||||
TerminatorKind::Unreachable => {
|
||||
// no data used, thus irrelevant to borrowck
|
||||
}
|
||||
|
|
@ -1120,6 +1128,7 @@ enum ContextKind {
|
|||
CallDest,
|
||||
Assert,
|
||||
StorageDead,
|
||||
Yield,
|
||||
}
|
||||
|
||||
impl ContextKind {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue