Skip to content

Add more features to rust_2018_preview #49667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 5, 2018
Merged
Changes from all commits
Commits
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
12 changes: 6 additions & 6 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ declare_features! (
(active, rustc_attrs, "1.0.0", Some(29642), None),

// Allows the use of non lexical lifetimes; RFC 2094
(active, nll, "1.0.0", Some(43234), None),
(active, nll, "1.0.0", Some(43234), Some(Edition::Edition2018)),

// Allows the use of #[allow_internal_unstable]. This is an
// attribute on macro_rules! and can't use the attribute handling
Expand Down Expand Up @@ -391,7 +391,7 @@ declare_features! (
(active, dyn_trait, "1.22.0", Some(44662), Some(Edition::Edition2018)),

// `crate` as visibility modifier, synonymous to `pub(crate)`
(active, crate_visibility_modifier, "1.23.0", Some(45388), None),
(active, crate_visibility_modifier, "1.23.0", Some(45388), Some(Edition::Edition2018)),

// extern types
(active, extern_types, "1.23.0", Some(43467), None),
Expand All @@ -400,10 +400,10 @@ declare_features! (
(active, arbitrary_self_types, "1.23.0", Some(44874), None),

// `crate` in paths
(active, crate_in_paths, "1.23.0", Some(45477), None),
(active, crate_in_paths, "1.23.0", Some(45477), Some(Edition::Edition2018)),

// In-band lifetime bindings (e.g. `fn foo(x: &'a u8) -> &'a u8`)
(active, in_band_lifetimes, "1.23.0", Some(44524), None),
(active, in_band_lifetimes, "1.23.0", Some(44524), Some(Edition::Edition2018)),

// generic associated types (RFC 1598)
(active, generic_associated_types, "1.23.0", Some(44265), None),
Expand All @@ -412,10 +412,10 @@ declare_features! (
(active, extern_absolute_paths, "1.24.0", Some(44660), None),

// `foo.rs` as an alternative to `foo/mod.rs`
(active, non_modrs_mods, "1.24.0", Some(44660), None),
(active, non_modrs_mods, "1.24.0", Some(44660), Some(Edition::Edition2018)),

// Termination trait in tests (RFC 1937)
(active, termination_trait_test, "1.24.0", Some(48854), None),
(active, termination_trait_test, "1.24.0", Some(48854), Some(Edition::Edition2018)),

// Allows use of the :lifetime macro fragment specifier
(active, macro_lifetime_matcher, "1.24.0", Some(46895), None),
Expand Down