rust/src/test/ui/transmutability/malformed-program-gracefulness/feature-missing.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
197 B
Rust
Raw Normal View History

// 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]