rust/tests/ui/allocator/not-an-allocator.rs

9 lines
123 B
Rust

#[global_allocator]
static A: usize = 0;
//~^ ERROR E0277
//~| ERROR E0277
//~| ERROR E0277
//~| ERROR E0277
fn main() {}