Skip to content

Commit 1c7af27

Browse files
committed
Remove in-band lifetimes from the 2018 edition
As mentioned in the 2018-08-04 edition status update, these are postponed as lacking consensus to stabilize.
1 parent 7398c31 commit 1c7af27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ declare_features! (
381381
(active, crate_in_paths, "1.23.0", Some(45477), Some(Edition::Edition2018)),
382382

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

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

0 commit comments

Comments
 (0)