Skip to content

Commit f95958b

Browse files
committed
glob imports are an external crate
1 parent 6c348df commit f95958b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/doc/reference.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,16 +1832,6 @@ When re-exporting a private item, it can be thought of as allowing the "privacy
18321832
chain" being short-circuited through the reexport instead of passing through
18331833
the namespace hierarchy as it normally would.
18341834

1835-
### Glob imports and Visibility
1836-
1837-
Currently glob imports are considered an "experimental" language feature. For
1838-
sanity purpose along with helping the implementation, glob imports will only
1839-
import public items from their destination, not private items.
1840-
1841-
> **Note:** This is subject to change, glob exports may be removed entirely or
1842-
> they could possibly import private items for a privacy error to later be
1843-
> issued if the item is used.
1844-
18451835
## Attributes
18461836

18471837
```{.ebnf .gram}
@@ -2455,12 +2445,6 @@ The currently implemented features of the reference compiler are:
24552445
* `default_type_params` - Allows use of default type parameters. The future of
24562446
this feature is uncertain.
24572447

2458-
* `globs` - Importing everything in a module through `*`. This is currently a
2459-
large source of bugs in name resolution for Rust, and it's not
2460-
clear whether this will continue as a feature or not. For these
2461-
reasons, the glob import statement has been hidden behind this
2462-
feature flag.
2463-
24642448
* `intrinsics` - Allows use of the "rust-intrinsics" ABI. Compiler intrinsics
24652449
are inherently unstable and no promise about them is made.
24662450

0 commit comments

Comments
 (0)