Tags: rust-analyzer/ungrammar
Tags
Merge #47 47: Support destructuring assignments (RFC 2909) r=Veykril a=ChayimFriedman2 The supported patterns are already valid as expressions, except the rest pattern (`..`) and the wildcard pattern (`_`). (We really should separate `rust.ungram` into the rust-analyzer repository, it blocks every syntax change). Co-authored-by: Chayim Refael Friedman <[email protected]>
Merge #45 45: Support if- and while-let chains r=matklad a=ChayimFriedman2 RFC 2497 https://github.com/rust-lang/rfcs/blob/master/text/2497-if-let-chains.md. I'm not sure if this should be a major or minor version bump: it breaks users of rust.ungram but not general users of the crate. Co-authored-by: Chayim Refael Friedman <[email protected]>
Merge #41 41: add Attr to RestPat r=XFFXFF a=XFFXFF Try to fix rust-lang/rust-analyzer#8610 Related pr in rust-analyzer: rust-lang/rust-analyzer#10420 Co-authored-by: zhoufan <[email protected]>
Merge #37 37: Add both variants of half open range patterns to the grammar r=lf- a=lf- This is prompted by rust-lang/rust-analyzer#9779, but it is not actually a prerequisite of making that one happen as this commit doesn't change the generated code on the r-a side. Relevant PR (that does not require this one be merged immediately/a release made): rust-lang/rust-analyzer#9780 Co-authored-by: Jade <[email protected]>
Merge #38 38: Add syntax elements for `if let` match guards r=jonas-schievink a=jonas-schievink For rust-lang/rust-analyzer#9876 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
PreviousNext