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