mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
16 lines
227 B
Rust
16 lines
227 B
Rust
//@ error-pattern: requires `copy` lang_item
|
|
|
|
#![feature(lang_items, start, no_core)]
|
|
#![no_core]
|
|
|
|
#[lang = "sized"]
|
|
trait Sized { }
|
|
|
|
struct S;
|
|
|
|
#[start]
|
|
fn main(_: isize, _: *const *const u8) -> isize {
|
|
let _ = S;
|
|
0
|
|
}
|