See [playpen](http://is.gd/ze28if). It seems like `#[lang = "foo"]`, where there is no such lang item "foo", should trigger `unused_attributes`.