rust/tests/ui/intrinsics/feature-gate-safe-intrinsic.rs
2023-09-25 22:33:15 +02:00

7 lines
210 B
Rust

#[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() {}