Skip to content

Commit 68df70d

Browse files
committed
List the feature in removed.rs
1 parent 8cab0ba commit 68df70d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: compiler/rustc_feature/src/removed.rs

+2
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ declare_features! (
244244
/// Allows unnamed fields of struct and union type
245245
(removed, unnamed_fields, "1.83.0", Some(49804), Some("feature needs redesign")),
246246
(removed, unsafe_no_drop_flag, "1.0.0", None, None),
247+
(removed, unsized_tuple_coercion, "CURRENT_RUSTC_VERSION", Some(42877),
248+
Some("The feature restricts possible layouts for tuples, and this restriction is not worth it.")),
247249
/// Allows `union` fields that don't implement `Copy` as long as they don't have any drop glue.
248250
(removed, untagged_unions, "1.13.0", Some(55149),
249251
Some("unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more")),

Diff for: compiler/rustc_span/src/symbol.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//! An "interner" is a data structure that associates values with usize tags and allows bidirectional lookup; i.e., given a value, one can easily find the
1+
//! An "interner" is a data structure that associates values with usize tags and
2+
//! allows bidirectional lookup; i.e., given a value, one can easily find the
23
//! type, and vice versa.
34
45
use std::hash::{Hash, Hasher};
@@ -2164,6 +2165,7 @@ symbols! {
21642165
unsized_const_params,
21652166
unsized_fn_params,
21662167
unsized_locals,
2168+
unsized_tuple_coercion,
21672169
unstable,
21682170
unstable_location_reason_default: "this crate is being loaded from the sysroot, an \
21692171
unstable location; did you mean to load this crate \

0 commit comments

Comments
 (0)