mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-27 04:31:18 +00:00
9 lines
217 B
Rust
9 lines
217 B
Rust
//@ known-bug: #139462
|
|
//@ compile-flags: -Cdebuginfo=2
|
|
#![feature(unsafe_binders)]
|
|
use std::unsafe_binder::wrap_binder;
|
|
fn main() {
|
|
let foo = 0;
|
|
let foo: unsafe<'a> &'a u32 = unsafe { wrap_binder!(&foo) };
|
|
}
|