summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-non-snake-case-lifetimes.stderr
blob: d4fe26a43c2e9ed0413c0d185d3e2929b60a52b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: lifetime `'FooBar` should have a snake case name
  --> $DIR/lint-non-snake-case-lifetimes.rs:4:6
   |
LL | fn f<'FooBar>(
   |      ^^^^^^^ help: convert the identifier to snake case: `'foo_bar`
   |
note: the lint level is defined here
  --> $DIR/lint-non-snake-case-lifetimes.rs:1:9
   |
LL | #![deny(non_snake_case)]
   |         ^^^^^^^^^^^^^^

error: aborting due to previous error