rust/tests/ui/unsafe-binders/simple.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
142 B
Rust
Raw Permalink Normal View History

//@ check-pass
2024-12-10 19:42:09 +00:00
#![feature(unsafe_binders)]
//~^ WARN the feature `unsafe_binders` is incomplete
fn main() {
let x: unsafe<'a> &'a ();
}