mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 16:53:39 +00:00
9 lines
212 B
Rust
9 lines
212 B
Rust
#![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`
|
|
}
|