mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
11 lines
172 B
Rust
11 lines
172 B
Rust
//@ check-pass
|
|
|
|
#![feature(pin_ergonomics)]
|
|
//~^ WARN the feature `pin_ergonomics` is incomplete
|
|
|
|
use std::pin::Pin;
|
|
|
|
fn main() {
|
|
let _: Pin<Box<()>> = Box::pin(());
|
|
}
|