rust/tests/ui/feature-gates/feature-gate-unsafe-binders.rs
Michael Goulet c5d02237d3 Add tests
2024-12-12 16:29:40 +00:00

8 lines
118 B
Rust

#[cfg(any())]
fn test() {
let x: unsafe<> ();
//~^ ERROR unsafe binder types are experimental
}
fn main() {}