blob: dd6456b60348186fa1b1f20b9799c6b699e05a05 [file] [log] [blame]
#![feature(pin_ergonomics)]
#![allow(incomplete_features)]
// Makes sure we don't accidentally accept `&pin Foo` without the `const` keyword.
fn main() {
let _x: &pin i32 = todo!(); //~ ERROR found `i32`
}