about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-02-25 04:21:11 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-02-25 04:21:11 +0530
commitf28677506c29507433ed2de4d7ad2b07c4cf0111 (patch)
tree431aa13d91cd2af346e74db7abe30d63dde391c4 /src/libstd/sys/unix/stack_overflow.rs
parent901eca9e6ce7a527e1014fda3301e6ddf1365096 (diff)
parent397ab315e76d59f634b79aa2c694571ad0c3e000 (diff)
downloadrust-f28677506c29507433ed2de4d7ad2b07c4cf0111.tar.gz
rust-f28677506c29507433ed2de4d7ad2b07c4cf0111.zip
Rollup merge of #31863 - matklad:clarify-reference, r=steveklabnik
Reference implied that use declarations may appear *only* at the top of blocks and modules, but it is not the case, and the following is valid:

```Rust
fn foo() {
    let x = 92;
    use baz::bar;
}
```

r? @steveklabnik
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions