rust/tests/ui/feature-gates/feature-gate-intrinsics.rs
2023-01-11 09:32:08 +00:00

9 lines
262 B
Rust

extern "rust-intrinsic" { //~ ERROR intrinsics are subject to change
fn bar(); //~ ERROR unrecognized intrinsic function: `bar`
}
extern "rust-intrinsic" fn baz() {} //~ ERROR intrinsics are subject to change
//~^ ERROR intrinsic must be in
fn main() {}