12 lines
320 B
Rust
12 lines
320 B
Rust
// 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)]
|
|
|
|
#![feature(unknown_stdlib_feature)] //~ ERROR
|
|
|
|
fn main() {}
|