We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e2a5e commit 5949d8bCopy full SHA for 5949d8b
src/test/ui/lint/lint-group-nonstandard-style.rs
@@ -13,19 +13,19 @@
13
14
fn CamelCase() {} //~ ERROR should have a snake
15
16
-#[allow(bad_style)]
+#[allow(nonstandard_style)]
17
mod test {
18
fn CamelCase() {}
19
20
- #[forbid(bad_style)]
+ #[forbid(nonstandard_style)]
21
mod bad {
22
23
24
static bad: isize = 1; //~ ERROR should have an upper
25
}
26
27
mod warn {
28
- #![warn(bad_style)]
+ #![warn(nonstandard_style)]
29
30
fn CamelCase() {} //~ WARN should have a snake
31
0 commit comments