gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Missing syntax for block-exprs in `return`

Open CohenArthur opened this issue 2 weeks ago • 2 comments

fn foo() -> i32 {
    return {
        15
    }
}

this currently fails to parse despite being valid Rust syntax

CohenArthur avatar Nov 19 '26 05:11 CohenArthur

@CohenArthur Would you please assign it to me?

sriramster avatar Nov 19 '26 16:11 sriramster

there you go @sriramster :) thank you!

CohenArthur avatar Nov 19 '26 17:11 CohenArthur