Files
rust/compiler
Stuart Cook 3c2a5dbace Rollup merge of #149722 - dawidl022:contracts/fix/parsing-compound-statements, r=jieyouxu
contracts: fix lowering final declaration without trailing semicolon

Lowering for contract delcarations introduced in rust-lang/rust#144444 incorrectly handled the final declaration statement when it didn't end in a semicolon. This change fixes the issue.

See the included regression test for the minimal reproducible example.

Contracts tracking issue: https://github.com/rust-lang/rust/issues/128044
2025-12-08 11:46:25 +11:00
..
fix
2025-11-27 17:55:34 +07:00
2025-12-02 00:37:17 +07:00
2025-12-06 13:49:00 -05:00