summaryrefslogtreecommitdiffstats
path: root/tests/ui/intrinsics/feature-gate-safe-intrinsic.rs
blob: ffaa4d771d99b8ce0d66508fc53d6db3dcf80711 (plain)
1
2
3
4
5
6
#[rustc_safe_intrinsic]
//~^ ERROR the `#[rustc_safe_intrinsic]` attribute is used internally to mark intrinsics as safe
//~| ERROR attribute should be applied to intrinsic functions
fn safe() {}

fn main() {}