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