Add tests for illegal use bound syntax
This commit is contained in:
parent
b1efe1ab5d
commit
f66558d2bf
10 changed files with 122 additions and 5 deletions
|
@ -1424,7 +1424,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
|
|||
self.dcx().emit_err(errors::PreciseCapturingNotAllowedHere {
|
||||
loc: ctxt.descr(),
|
||||
span: *span,
|
||||
})
|
||||
});
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue