blob: c8e9810327c2ad8dc5b6ce433f1525c9d20a6965 (
plain)
1
2
3
4
5
6
7
8
|
// This checks that incorrect params on function parameters are caught
fn function(#[inline] param: u32) {
//~^ ERROR attribute cannot be used on
//~| ERROR allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes
}
fn main() {}
|