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