rust/tests/ui/transmutability/malformed-program-gracefulness/feature-missing.rs
2023-01-11 09:32:08 +00:00

10 lines
289 B
Rust

// The trait must not be available if its feature flag is absent.
#![crate_type = "lib"]
use std::mem::BikeshedIntrinsicFrom;
//~^ ERROR use of unstable library feature 'transmutability' [E0658]
use std::mem::Assume;
//~^ ERROR use of unstable library feature 'transmutability' [E0658]