mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
12 lines
190 B
Rust
12 lines
190 B
Rust
// 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() {}
|