summaryrefslogtreecommitdiffstats
path: root/tests/ui/transmutability/malformed-program-gracefulness/feature-missing.rs
blob: 30c381745d0f97b92cf83e8ed246727e9b0874a3 (plain)
1
2
3
4
5
6
7
8
9
// 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]