| 1 |
error: function `fooBar` should have a snake case name |
| 2 |
--> tests/ui/case-warning.rs:8:20 |
| 3 |
| |
| 4 |
8 | pub fn [<foo $i>]() {} |
| 5 |
| ^^^^^^^^^^ help: convert the identifier to snake case: `foo_bar` |
| 6 |
... |
| 7 |
13 | m!(Bar); |
| 8 |
| ------- in this macro invocation |
| 9 |
| |
| 10 |
note: the lint level is defined here |
| 11 |
--> tests/ui/case-warning.rs:1:9 |
| 12 |
| |
| 13 |
1 | #![deny(warnings)] |
| 14 |
| ^^^^^^^^ |
| 15 |
= note: `#[deny(non_snake_case)]` implied by `#[deny(warnings)]` |
| 16 |
= note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) |