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