Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
lang-items
/
required-lang-item.rs
blob: 7f8933ac2ad650a2530d091650798db404818282 [
file
] [
log
] [
blame
]
// 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