mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
11 lines
204 B
Rust
11 lines
204 B
Rust
//@ edition: 2018
|
|
|
|
#![feature(lang_items, no_core)]
|
|
#![no_core]
|
|
#![no_main]
|
|
|
|
#[lang="copy"] pub trait Copy { }
|
|
#[lang="sized"] pub trait Sized { }
|
|
|
|
async fn x() {} //~ ERROR requires `ResumeTy` lang_item
|