]> git.lizzy.rs Git - rust.git/blob - src/test/ui/allocator/not-an-allocator.rs
Make some diagnostics not depend on the source of what they reference being available
[rust.git] / src / test / ui / allocator / not-an-allocator.rs
1 #[global_allocator]
2 static A: usize = 0;
3 //~^ ERROR E0277
4 //~| ERROR E0277
5 //~| ERROR E0277
6 //~| ERROR E0277
7
8 fn main() {}