diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2014-09-19 16:41:09 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2014-09-22 17:54:10 -0400 |
| commit | f95958b526bcbf2e7e70a0f4eca4037bfd579aee (patch) | |
| tree | 1b988cfc7480bc4815e50b5c3cd4f98eb1b47a70 /src/doc/reference.md | |
| parent | 6c348dfe720e9c516b47beb1e318b8b3544ffe12 (diff) | |
| download | rust-f95958b526bcbf2e7e70a0f4eca4037bfd579aee.tar.gz rust-f95958b526bcbf2e7e70a0f4eca4037bfd579aee.zip | |
glob imports are an external crate
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index d1d06195e2b..5c419982c05 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1832,16 +1832,6 @@ When re-exporting a private item, it can be thought of as allowing the "privacy chain" being short-circuited through the reexport instead of passing through the namespace hierarchy as it normally would. -### Glob imports and Visibility - -Currently glob imports are considered an "experimental" language feature. For -sanity purpose along with helping the implementation, glob imports will only -import public items from their destination, not private items. - -> **Note:** This is subject to change, glob exports may be removed entirely or -> they could possibly import private items for a privacy error to later be -> issued if the item is used. - ## Attributes ```{.ebnf .gram} @@ -2455,12 +2445,6 @@ The currently implemented features of the reference compiler are: * `default_type_params` - Allows use of default type parameters. The future of this feature is uncertain. -* `globs` - Importing everything in a module through `*`. This is currently a - large source of bugs in name resolution for Rust, and it's not - clear whether this will continue as a feature or not. For these - reasons, the glob import statement has been hidden behind this - feature flag. - * `intrinsics` - Allows use of the "rust-intrinsics" ABI. Compiler intrinsics are inherently unstable and no promise about them is made. |
