blob: bef607a4ec5c4d64414e87e75b5c15a737f87206 [file]
#![deny(unused_attributes)]
trait Trait {
#[inline] //~ ERROR attribute cannot be used on
//~^ WARN previously accepted
fn foo();
}
extern "C" {
#[inline] //~ ERROR attribute cannot be used on
//~^ WARN previously accepted
fn foo();
}
fn main() {}