rust/src/test/compile-fail/no-core-attribute.rs

6 lines
85 B
Rust

// error-pattern:unresolved name: debug
#[no_core];
fn main() {
log(debug, 0);
}