Feature gate enums in offset_of
This commit is contained in:
parent
1d6f05fd37
commit
7c09b99ebb
9 changed files with 68 additions and 4 deletions
|
@ -526,6 +526,8 @@ declare_features! (
|
|||
/// In that case, `dyn Trait: Trait` does not hold. Moreover, coercions and
|
||||
/// casts in safe Rust to `dyn Trait` for such a `Trait` is also forbidden.
|
||||
(unstable, object_safe_for_dispatch, "1.40.0", Some(43561), None),
|
||||
/// Allows using enums in offset_of!
|
||||
(unstable, offset_of_enum, "CURRENT_RUSTC_VERSION", Some(106655), None),
|
||||
/// Allows using `#[optimize(X)]`.
|
||||
(unstable, optimize_attribute, "1.34.0", Some(54882), None),
|
||||
/// Allows using `#![plugin(myplugin)]`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue