You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This listing is both a minimal implementation of this RFC (excepting the automatic derives) and the **canonical specification** of this RFC's API surface ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=22a5ae2d502ede826392ea4044d48b84)):
813
+
This listing is both a minimal implementation of this RFC (excepting the automatic derives) and the **canonical specification** of this RFC's API surface ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=1ff1700e6dba595f1e600d20da5d6387)):
814
814
```rust
815
815
#![feature(untagged_unions,const_fn,const_fn_union)] // for the impl of transmute free functions
816
816
#![feature(const_generics)] // for stability declarations on `[T; N]`
817
817
#![feature(decl_macro)] // for stub implementations of derives
818
818
#![feature(never_type)] // for stability declarations on `!`
819
-
#![allow(unused_unsafe, incomplete_features)]
819
+
#![allow(warnings)]
820
820
821
821
/// Transmutation conversions.
822
822
// suggested location: `core::convert`
@@ -964,20 +964,20 @@ pub mod transmute {
964
964
965
965
/// Declare that transmuting `Self` into `Archetype` is SemVer-stable.
966
966
pubtraitPromiseTransmutableInto
967
+
where
968
+
Self::Archetype:PromiseTransmutableInto
967
969
{
968
970
/// The `Archetype` must be safely transmutable from `Self`.
0 commit comments