2020-11-14 11:47:14 +00:00
|
|
|
#![derive(Copy)] //~ ERROR cannot determine resolution for the attribute macro `derive`
|
2021-10-09 12:13:15 +00:00
|
|
|
//~^ ERROR `derive` attribute cannot be used at crate level
|
|
|
|
|
|
|
|
#![test]//~ ERROR cannot determine resolution for the attribute macro `test`
|
|
|
|
//~^ ERROR `test` attribute cannot be used at crate level
|
|
|
|
|
|
|
|
#![test_case]//~ ERROR cannot determine resolution for the attribute macro `test_case`
|
|
|
|
//~^ ERROR `test_case` attribute cannot be used at crate level
|
|
|
|
|
|
|
|
#![bench]//~ ERROR cannot determine resolution for the attribute macro `bench`
|
|
|
|
//~^ ERROR `bench` attribute cannot be used at crate level
|
|
|
|
|
|
|
|
#![global_allocator]//~ ERROR cannot determine resolution for the attribute macro `global_allocator`
|
|
|
|
//~^ ERROR `global_allocator` attribute cannot be used at crate level
|
2018-12-16 17:23:27 +00:00
|
|
|
|
|
|
|
fn main() {}
|