Sign in
fuchsia
/
third_party
/
rust
/
728572440171d8d9c0557c89c3d71cc8d7cf6c2e
/
.
/
src
/
test
/
ui
/
lint
/
lint-non-snake-case-lifetimes.rs
blob: c7af431bafc3af0aa2d43ff0427247f24a96c1f9 [
file
] [
log
] [
blame
]
#![
deny
(
non_snake_case
)]
#![
allow
(
dead_code
)]
fn
f
<
'FooBar>( //~ ERROR lifetime `'
FooBar
`
should have a snake case name such
as
`
'
foo_bar
`
_
:
&
'
FooBar
()
)
{}
fn
main
()
{
}