Add tracking issue for sized_hierarchy
This commit is contained in:
parent
1b4325211c
commit
c7bb49458f
2 changed files with 4 additions and 4 deletions
|
|
@ -247,8 +247,6 @@ declare_features! (
|
|||
(internal, profiler_runtime, "1.18.0", None),
|
||||
/// Allows using `rustc_*` attributes (RFC 572).
|
||||
(internal, rustc_attrs, "1.0.0", None),
|
||||
/// Introduces a hierarchy of `Sized` traits (RFC 3729).
|
||||
(unstable, sized_hierarchy, "1.89.0", None),
|
||||
/// Allows using the `#[stable]` and `#[unstable]` attributes.
|
||||
(internal, staged_api, "1.0.0", None),
|
||||
/// Added for testing unstable lints; perma-unstable.
|
||||
|
|
@ -305,6 +303,8 @@ declare_features! (
|
|||
(internal, rustdoc_internals, "1.58.0", Some(90418)),
|
||||
/// Allows using the `rustdoc::missing_doc_code_examples` lint
|
||||
(unstable, rustdoc_missing_doc_code_examples, "1.31.0", Some(101730)),
|
||||
/// Introduces a hierarchy of `Sized` traits (RFC 3729).
|
||||
(unstable, sized_hierarchy, "1.89.0", Some(144404)),
|
||||
/// Allows using `#[structural_match]` which indicates that a type is structurally matchable.
|
||||
/// FIXME: Subsumed by trait `StructuralPartialEq`, cannot move to removed until a library
|
||||
/// feature with the same name exists.
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ pub trait Sized: MetaSized {
|
|||
}
|
||||
|
||||
/// Types with a size that can be determined from pointer metadata.
|
||||
#[unstable(feature = "sized_hierarchy", issue = "none")]
|
||||
#[unstable(feature = "sized_hierarchy", issue = "144404")]
|
||||
#[lang = "meta_sized"]
|
||||
#[diagnostic::on_unimplemented(
|
||||
message = "the size for values of type `{Self}` cannot be known",
|
||||
|
|
@ -181,7 +181,7 @@ pub trait MetaSized: PointeeSized {
|
|||
}
|
||||
|
||||
/// Types that may or may not have a size.
|
||||
#[unstable(feature = "sized_hierarchy", issue = "none")]
|
||||
#[unstable(feature = "sized_hierarchy", issue = "144404")]
|
||||
#[lang = "pointee_sized"]
|
||||
#[diagnostic::on_unimplemented(
|
||||
message = "values of type `{Self}` may or may not have a size",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue