os-rust/tests/ui/lang-items/required-lang-item.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
204 B
Rust
Raw Normal View History

//@ edition: 2018
#![feature(lang_items, no_core)]
#![no_core]
#![no_main]
#[lang="copy"] pub trait Copy { }
2015-03-31 19:58:01 -04:00
#[lang="sized"] pub trait Sized { }
async fn x() {} //~ ERROR requires `ResumeTy` lang_item