summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/enable-unstable-lib-feature.stderr
blob: 327e6e3e956fb45438458b8b0768dfe73a0a4125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: function `BOGUS` should have a snake case name
  --> $DIR/enable-unstable-lib-feature.rs:11:8
   |
LL | pub fn BOGUS() { }
   |        ^^^^^ help: convert the identifier to snake case: `bogus`
   |
note: the lint level is defined here
  --> $DIR/enable-unstable-lib-feature.rs:6:9
   |
LL | #![deny(non_snake_case)] // To trigger a hard error
   |         ^^^^^^^^^^^^^^

error: aborting due to 1 previous error