about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-13 01:37:07 -0700
committerGitHub <noreply@github.com>2016-07-13 01:37:07 -0700
commit2ab18ce6f7e147a71e953b9a01ed09aff6b95972 (patch)
tree376726d4299079f5a88cf6c54e6ed601921b11d8 /src/libstd/sys/unix/stack_overflow.rs
parent617039bff0decea56b6698497b589671b0371507 (diff)
parent57fac56cb51d1a8ca0f6d76f869ccbb0a67b0f45 (diff)
downloadrust-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