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