Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
e60c1916e0d0ff0cad9d8fce049c3bc31eeb34f0
/
.
/
tests
/
ui
/
lint
/
lint-non-snake-case-lifetimes.rs
blob: de76d2dbef26adabe93cd941ac8719a79b49d3dc [
file
] [
log
] [
blame
]
#![
deny
(
non_snake_case
)]
#![
allow
(
dead_code
)]
fn
f
<
'FooBar>( //~ ERROR lifetime `'
FooBar
`
should have a snake case name
_
:
&
'
FooBar
()
)
{}
fn
main
()
{
}