14 lines
228 B
Rust
14 lines
228 B
Rust
#![feature(lang_items, no_core)]
|
|
#![no_core]
|
|
#![no_main]
|
|
|
|
#[lang = "sized"]
|
|
trait Sized { }
|
|
|
|
struct S;
|
|
|
|
#[no_mangle]
|
|
extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 {
|
|
argc //~ ERROR requires `copy` lang_item
|
|
}
|