Skip to content

Commit 5949d8b

Browse files
author
boats
committed
Fix internal references to bad_style in test code.
1 parent 21e2a5e commit 5949d8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/ui/lint/lint-group-nonstandard-style.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313

1414
fn CamelCase() {} //~ ERROR should have a snake
1515

16-
#[allow(bad_style)]
16+
#[allow(nonstandard_style)]
1717
mod test {
1818
fn CamelCase() {}
1919

20-
#[forbid(bad_style)]
20+
#[forbid(nonstandard_style)]
2121
mod bad {
2222
fn CamelCase() {} //~ ERROR should have a snake
2323

2424
static bad: isize = 1; //~ ERROR should have an upper
2525
}
2626

2727
mod warn {
28-
#![warn(bad_style)]
28+
#![warn(nonstandard_style)]
2929

3030
fn CamelCase() {} //~ WARN should have a snake
3131

0 commit comments

Comments
 (0)