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

6 lines
91 B
Rust
Raw Normal View History

// error-pattern: whatever
#[no_core];
fn main() {
log(debug, core::int::max_value);
}