Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ab7f02d
add documentation from doc(include) to analysis data
QuietMisdreavus Jan 16, 2018
6c86da2
Make wording around 0-cost casts more precise
tbu- Jan 27, 2018
f641ac6
Add regression test for #44415
Jan 24, 2018
5a350c1
add doc(include) to the save-analysis test
QuietMisdreavus Jan 31, 2018
c22d6e2
Fix rustdoc ICE on macros defined within functions
Manishearth Feb 2, 2018
ee737c7
Add regression test
Manishearth Feb 2, 2018
3d114c7
Remove delay_span_bug() in check_aliasability
topecongiro Feb 4, 2018
f243f92
Fix info about generic impls in AsMut docs
mbrubeck Feb 4, 2018
dcb3e21
update trpl
steveklabnik Jan 25, 2018
b320829
update reference
steveklabnik Jan 26, 2018
5437188
update mdbook to 0.1.2
steveklabnik Jan 25, 2018
983cc00
add exceptions for new deps
steveklabnik Feb 3, 2018
3c72a84
save-analysis: avoid implicit unwrap
nrc Feb 4, 2018
01f0814
Stabilize use_nested_groups
pietroalbini Feb 1, 2018
a29d854
Make inline assembly volatile if it has no outputs. Fixes #46026
Zoxc Nov 16, 2017
eb5a461
Rollup merge of #46030 - Zoxc:asm-volatile, r=nikomatsakis
kennytm Feb 5, 2018
cde119d
Rollup merge of #47496 - QuietMisdreavus:rls-doc-include, r=estebank
kennytm Feb 5, 2018
9dab737
Rollup merge of #47543 - topecongiro:issue-42344, r=nikomatsakis
kennytm Feb 5, 2018
a405a08
Rollup merge of #47704 - dsprenkels:issue-44415, r=alexcrichton
kennytm Feb 5, 2018
ddc4284
Rollup merge of #47753 - steveklabnik:update-book, r=alexcrichton
kennytm Feb 5, 2018
e8688b4
Rollup merge of #47807 - tbu-:pr_doc_constanttime_cstr, r=steveklabnik
kennytm Feb 5, 2018
55aef3c
Rollup merge of #47948 - pietroalbini:use-nested-groups-stabilize, r=…
kennytm Feb 5, 2018
daecd15
Rollup merge of #47959 - Manishearth:rustdoc-ice, r=Mark-Simulacrum
kennytm Feb 5, 2018
e2f6e13
Rollup merge of #48003 - mbrubeck:docs, r=steveklabnik
kennytm Feb 5, 2018
0553dc8
Rollup merge of #48007 - nrc:rls-field-init, r=eddyb
kennytm Feb 5, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 0 additions & 90 deletions src/doc/unstable-book/src/language-features/use-nested-groups.md

This file was deleted.

28 changes: 2 additions & 26 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,6 @@ declare_features! (
// In-band lifetime bindings (e.g. `fn foo(x: &'a u8) -> &'a u8`)
(active, in_band_lifetimes, "1.23.0", Some(44524)),

// Nested groups in `use` (RFC 2128)
(active, use_nested_groups, "1.23.0", Some(44494)),

// generic associated types (RFC 1598)
(active, generic_associated_types, "1.23.0", Some(44265)),

Expand Down Expand Up @@ -544,6 +541,8 @@ declare_features! (
(accepted, repr_align, "1.24.0", Some(33626)),
// allow '|' at beginning of match arms (RFC 1925)
(accepted, match_beginning_vert, "1.25.0", Some(44101)),
// Nested groups in `use` (RFC 2128)
(accepted, use_nested_groups, "1.25.0", Some(44494)),
);

// If you change this, please modify src/doc/unstable-book as well. You must
Expand Down Expand Up @@ -1805,29 +1804,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
visit::walk_path(self, path);
}

fn visit_use_tree(&mut self, use_tree: &'a ast::UseTree, id: NodeId, nested: bool) {
if nested {
match use_tree.kind {
ast::UseTreeKind::Simple(_) => {
if use_tree.prefix.segments.len() != 1 {
gate_feature_post!(&self, use_nested_groups, use_tree.span,
"paths in `use` groups are experimental");
}
}
ast::UseTreeKind::Glob => {
gate_feature_post!(&self, use_nested_groups, use_tree.span,
"glob imports in `use` groups are experimental");
}
ast::UseTreeKind::Nested(_) => {
gate_feature_post!(&self, use_nested_groups, use_tree.span,
"nested groups in `use` are experimental");
}
}
}

visit::walk_use_tree(self, use_tree, id);
}

fn visit_vis(&mut self, vis: &'a ast::Visibility) {
if let ast::Visibility::Crate(span, ast::CrateSugar::JustCrate) = *vis {
gate_feature_post!(&self, crate_visibility_modifier, span,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(use_nested_groups)]
#![allow(unused_imports)]

mod foo {}
Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass/issue-47673.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(use_nested_groups)]
#![allow(unused_import)]

use {{}, {}};
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass/use-nested-groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(use_nested_groups)]

mod a {
pub enum B {}

Expand Down
31 changes: 0 additions & 31 deletions src/test/ui/feature-gate-use_nested_groups.rs

This file was deleted.

26 changes: 0 additions & 26 deletions src/test/ui/feature-gate-use_nested_groups.stderr

This file was deleted.

2 changes: 0 additions & 2 deletions src/test/ui/use-nested-groups-error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#![feature(use_nested_groups)]

mod a {
pub mod b1 {
pub enum C2 {}
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/use-nested-groups-error.stderr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
error[E0432]: unresolved import `a::b1::C1`
--> $DIR/use-nested-groups-error.rs:21:14
--> $DIR/use-nested-groups-error.rs:19:14
|
21 | use a::{b1::{C1, C2}, B2};
19 | use a::{b1::{C1, C2}, B2};
| ^^ no `C1` in `a::b1`. Did you mean to use `C2`?

error: aborting due to previous error
Expand Down