blob: 4cb12f91e3cc84b28fdb8e380275d8bab85531ab [file] [log] [blame]
#![feature(pin)]
use pin_utils::pin_mut;
use core::pin::Pin;
#[test]
fn stack_pin() {
struct Foo {}
let foo = Foo {};
pin_mut!(foo);
let _: Pin<&mut Foo> = foo;
}