2019-03-13 16:29:24 -07:00
|
|
|
// compile-flags: -Z allow_features=rustc_diagnostic_macros,lang_items
|
|
|
|
// Note: This test uses rustc internal flags because they will never stabilize.
|
|
|
|
|
|
|
|
#![feature(rustc_diagnostic_macros)]
|
|
|
|
|
|
|
|
#![feature(rustc_const_unstable)] //~ ERROR
|
|
|
|
|
|
|
|
#![feature(lang_items)]
|
|
|
|
|
2019-04-25 14:03:45 -07:00
|
|
|
#![feature(unknown_stdlib_feature)] //~ ERROR
|
|
|
|
|
2019-03-13 16:29:24 -07:00
|
|
|
fn main() {}
|