Add test for closure_binder

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
This commit is contained in:
Arthur Baars 2025-05-30 22:58:13 +02:00 committed by GitHub
parent fb16d3b7f8
commit 7f7079f2bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -562,6 +562,8 @@ fn closure_expr(p: &mut Parser<'_>) -> CompletedMarker {
let m = p.start();
// test closure_binder
// fn main() { for<'a> || (); }
if p.at(T![for]) {
let b = p.start();
types::for_binder(p);