diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2025-03-04 11:58:31 +0000 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2025-03-04 12:44:22 +0000 |
| commit | 68df70d510e2ff8a303d7b3c9c8b0cb3bce579f4 (patch) | |
| tree | 068c934603825d7bc180bb245382b1adeceb17f1 | |
| parent | 8cab0ba91afce2b9f0c0947e61a2d2ace329ca48 (diff) | |
| download | rust-68df70d510e2ff8a303d7b3c9c8b0cb3bce579f4.tar.gz rust-68df70d510e2ff8a303d7b3c9c8b0cb3bce579f4.zip | |
List the feature in removed.rs
| -rw-r--r-- | compiler/rustc_feature/src/removed.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs index fc58b66ad35..47e4f9a2fe8 100644 --- a/compiler/rustc_feature/src/removed.rs +++ b/compiler/rustc_feature/src/removed.rs @@ -244,6 +244,8 @@ declare_features! ( /// Allows unnamed fields of struct and union type (removed, unnamed_fields, "1.83.0", Some(49804), Some("feature needs redesign")), (removed, unsafe_no_drop_flag, "1.0.0", None, None), + (removed, unsized_tuple_coercion, "CURRENT_RUSTC_VERSION", Some(42877), + Some("The feature restricts possible layouts for tuples, and this restriction is not worth it.")), /// Allows `union` fields that don't implement `Copy` as long as they don't have any drop glue. (removed, untagged_unions, "1.13.0", Some(55149), Some("unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more")), diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 14280b433ae..501c9039f2d 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1,4 +1,5 @@ -//! 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 +//! 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 //! type, and vice versa. use std::hash::{Hash, Hasher}; @@ -2164,6 +2165,7 @@ symbols! { unsized_const_params, unsized_fn_params, unsized_locals, + unsized_tuple_coercion, unstable, unstable_location_reason_default: "this crate is being loaded from the sysroot, an \ unstable location; did you mean to load this crate \ |
