Skip to content

Commit 6c3e1d7

Browse files
committed
Remove underscore_lifetimes and match_default_bindings from active feature list
These are already stabilized in 1.26.
1 parent 49317cd commit 6c3e1d7

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/librustc_trans/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#![feature(slice_sort_by_cached_key)]
3030
#![feature(optin_builtin_traits)]
3131
#![feature(inclusive_range_fields)]
32-
#![feature(underscore_lifetimes)]
3332

3433
use rustc::dep_graph::WorkProduct;
3534
use syntax_pos::symbol::Symbol;

src/librustc_typeck/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ This API is completely unstable and subject to change.
8282
#![feature(slice_patterns)]
8383
#![feature(slice_sort_by_cached_key)]
8484
#![feature(dyn_trait)]
85-
#![feature(underscore_lifetimes)]
8685

8786
#[macro_use] extern crate log;
8887
#[macro_use] extern crate syntax;

src/libsyntax/feature_gate.rs

-6
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,6 @@ declare_features! (
378378
// Future-proofing enums/structs with #[non_exhaustive] attribute (RFC 2008)
379379
(active, non_exhaustive, "1.22.0", Some(44109), None),
380380

381-
// allow `'_` placeholder lifetimes
382-
(active, underscore_lifetimes, "1.22.0", Some(44524), None),
383-
384-
// Default match binding modes (RFC 2005)
385-
(active, match_default_bindings, "1.22.0", Some(42640), None),
386-
387381
// Trait object syntax with `dyn` prefix
388382
(active, dyn_trait, "1.22.0", Some(44662), Some(Edition::Edition2018)),
389383

0 commit comments

Comments
 (0)