Skip to content

Commit 8c8a734

Browse files
committed
---
yaml --- r: 170844 b: refs/heads/try c: 6795148 h: refs/heads/master v: v3
1 parent 7d98817 commit 8c8a734

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: 82a96a11abcb9cc4d342402746af270eb4f28325
5+
refs/heads/try: 679514816974f23eff367b37e9082599a25900f0
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/libsyntax/feature_gate.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use std::ascii::AsciiExt;
3636

3737
// if you change this list without updating src/doc/reference.md, @cmr will be sad
3838
static KNOWN_FEATURES: &'static [(&'static str, Status)] = &[
39-
("globs", Active),
39+
("globs", Accepted),
4040
("macro_rules", Active),
4141
("struct_variant", Accepted),
4242
("asm", Active),
@@ -232,13 +232,7 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> {
232232

233233
fn visit_view_item(&mut self, i: &ast::ViewItem) {
234234
match i.node {
235-
ast::ViewItemUse(ref path) => {
236-
if let ast::ViewPathGlob(..) = path.node {
237-
self.gate_feature("globs", path.span,
238-
"glob import statements are \
239-
experimental and possibly buggy");
240-
}
241-
}
235+
ast::ViewItemUse(..) => {}
242236
ast::ViewItemExternCrate(..) => {
243237
for attr in i.attrs.iter() {
244238
if attr.name().get() == "phase"{

0 commit comments

Comments
 (0)