2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2017-12-10 13:14:01 -06:00
|
|
|
|
2017-08-26 15:18:04 -05:00
|
|
|
// this tests the `unknown_lint` lint, especially the suggestions
|
|
|
|
|
|
|
|
// the suggestion only appears if a lint with the lowercase name exists
|
|
|
|
#[allow(FOO_BAR)]
|
|
|
|
// the suggestion appears on all-uppercase names
|
|
|
|
#[warn(DEAD_CODE)]
|
|
|
|
// the suggestion appears also on mixed-case names
|
|
|
|
#[deny(Warnings)]
|
|
|
|
fn main() {
|
|
|
|
unimplemented!();
|
|
|
|
}
|