Fix internal references to bad_style in test code.

This commit is contained in:
boats 2018-02-20 15:57:16 -08:00
parent 21e2a5e8d8
commit 5949d8b2d7
No known key found for this signature in database
GPG Key ID: 92537B21110A684B

@ -13,11 +13,11 @@
fn CamelCase() {} //~ ERROR should have a snake
#[allow(bad_style)]
#[allow(nonstandard_style)]
mod test {
fn CamelCase() {}
#[forbid(bad_style)]
#[forbid(nonstandard_style)]
mod bad {
fn CamelCase() {} //~ ERROR should have a snake
@ -25,7 +25,7 @@ mod test {
}
mod warn {
#![warn(bad_style)]
#![warn(nonstandard_style)]
fn CamelCase() {} //~ WARN should have a snake