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-03-11 09:26:47 -0800
committerbors <bors@rust-lang.org>2016-03-11 09:26:47 -0800
commit5807fbbfde3ad04820f6fa0269711c81538057ec (patch)
treecc108741a3523592608f23c2a0ea0783925469c9 /src/libstd/sys/unix/stack_overflow.rs
parentaeb85a953322df7773095186e9762f3fe73375e2 (diff)
parent1a6092e05cecdaef984b2b0174089e6ae8c24181 (diff)
downloadrust-5807fbbfde3ad04820f6fa0269711c81538057ec.tar.gz
rust-5807fbbfde3ad04820f6fa0269711c81538057ec.zip
Auto merge of #32134 - jseyfried:forbid_type_alias_as_module, r=nikomatsakis
Forbid glob-importing from a type alias

This PR forbids glob-importing from a type alias or trait (fixes #30560):
```rust
type Alias = ();
use Alias::*; // This is currently allowed but shouldn't be
```

This is a [breaking-change]. Since the disallowed glob imports don't actually import anything, any breakage can be fixed by removing the offending glob import.

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