Remove pattern_arena
from RustcMatchCheckCtxt
This commit is contained in:
parent
be77cf86ba
commit
f65fe3ba59
3 changed files with 10 additions and 10 deletions
|
@ -23,7 +23,10 @@ impl<'tcx> Uncovered<'tcx> {
|
|||
span: Span,
|
||||
cx: &RustcMatchCheckCtxt<'p, 'tcx>,
|
||||
witnesses: Vec<WitnessPat<'p, 'tcx>>,
|
||||
) -> Self {
|
||||
) -> Self
|
||||
where
|
||||
'tcx: 'p,
|
||||
{
|
||||
let witness_1 = cx.hoist_witness_pat(witnesses.get(0).unwrap());
|
||||
Self {
|
||||
span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue