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