summaryrefslogtreecommitdiffstats
path: root/tests/ui/lang-items/required-lang-item.rs
blob: 3b17c5b72551d9cc6dd68c9a6203c6c638d2a209 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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() {}