diff options
| author | bors <bors@rust-lang.org> | 2016-07-13 01:37:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-13 01:37:07 -0700 |
| commit | 2ab18ce6f7e147a71e953b9a01ed09aff6b95972 (patch) | |
| tree | 376726d4299079f5a88cf6c54e6ed601921b11d8 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 617039bff0decea56b6698497b589671b0371507 (diff) | |
| parent | 57fac56cb51d1a8ca0f6d76f869ccbb0a67b0f45 (diff) | |
| download | rust-2ab18ce6f7e147a71e953b9a01ed09aff6b95972.tar.gz rust-2ab18ce6f7e147a71e953b9a01ed09aff6b95972.zip | |
Auto merge of #34660 - jseyfried:fix_parse_stmt, r=nrc
Fix bugs in macro-expanded statement parsing
Fixes #34543.
This is a [breaking-change]. For example, the following would break:
```rust
macro_rules! m { () => {
println!("") println!("")
//^ Semicolons are now required on macro-expanded non-braced macro invocations
//| in statement positions.
let x = 0
//^ Semicolons are now required on macro-expanded `let` statements
//| that are followed by more statements, so this would break.
let y = 0 //< (this would still be allowed to reduce breakage in the wild)
}
fn main() { m!() }
```
r? @eddyb
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
