rust/tests/ui/lang-items/required-lang-item.rs
2024-02-16 20:02:50 +00:00

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