]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-non-snake-case-lifetimes.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / lint / lint-non-snake-case-lifetimes.stderr
1 error: lifetime `'FooBar` should have a snake case name such as `'foo_bar`
2   --> $DIR/lint-non-snake-case-lifetimes.rs:14:6
3    |
4 LL | fn f<'FooBar>( //~ ERROR lifetime `'FooBar` should have a snake case name such as `'foo_bar`
5    |      ^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/lint-non-snake-case-lifetimes.rs:11:9
9    |
10 LL | #![deny(non_snake_case)]
11    |         ^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14