rust/src/test/ui/issues/issue-19660.rs
2018-12-25 21:08:33 -07:00

16 lines
226 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
}