Sign in
fuchsia
/
third_party
/
rust
/
a9aa2dfe844840a7e414873ce55ef9d02f1038a7
/
.
/
src
/
test
/
ui
/
required-lang-item.rs
blob: 3b17c5b72551d9cc6dd68c9a6203c6c638d2a209 [
file
] [
log
] [
blame
]
// build-fail
#![
feature
(
lang_items
,
no_core
)]
#![
no_core
]
#[
lang
=
"copy"
]
pub
trait
Copy
{
}
#[
lang
=
"sized"
]
pub
trait
Sized
{
}
// error-pattern:requires `start` lang_item
fn
main
()
{}