1
Fork 0

Add tests for illegal use bound syntax

This commit is contained in:
Michael Goulet 2024-06-05 16:31:12 -04:00
parent b1efe1ab5d
commit f66558d2bf
10 changed files with 122 additions and 5 deletions

View file

@ -1424,7 +1424,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
self.dcx().emit_err(errors::PreciseCapturingNotAllowedHere {
loc: ctxt.descr(),
span: *span,
})
});
}
},
}