Stabilize const_refs_to_static
update tests fix bitwidth-sensitive stderr output use build-fail for asm tests
This commit is contained in:
parent
76ed7a1fa4
commit
1576a6d618
45 changed files with 157 additions and 442 deletions
|
@ -151,6 +151,8 @@ declare_features! (
|
|||
(accepted, const_raw_ptr_deref, "1.58.0", Some(51911)),
|
||||
/// Allows references to types with interior mutability within constants
|
||||
(accepted, const_refs_to_cell, "CURRENT_RUSTC_VERSION", Some(80384)),
|
||||
/// Allows creating pointers and references to `static` items in constants.
|
||||
(accepted, const_refs_to_static, "CURRENT_RUSTC_VERSION", Some(119618)),
|
||||
/// Allows implementing `Copy` for closures where possible (RFC 2132).
|
||||
(accepted, copy_closures, "1.26.0", Some(44490)),
|
||||
/// Allows `crate` in paths.
|
||||
|
|
|
@ -407,8 +407,6 @@ declare_features! (
|
|||
(unstable, const_for, "1.56.0", Some(87575)),
|
||||
/// Be more precise when looking for live drops in a const context.
|
||||
(unstable, const_precise_live_drops, "1.46.0", Some(73255)),
|
||||
/// Allows creating pointers and references to `static` items in constants.
|
||||
(unstable, const_refs_to_static, "1.78.0", Some(119618)),
|
||||
/// Allows `impl const Trait for T` syntax.
|
||||
(unstable, const_trait_impl, "1.42.0", Some(67792)),
|
||||
/// Allows the `?` operator in const contexts.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue