Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
lifetimes
/
elided-lint-in-mod.rs
blob: afe85cb607d40f2f0923b9682cb931c1c8dbc358 [
file
] [
log
] [
blame
]
struct
Foo
<
'a>(&'
a
());
fn
test
(
_
:
Foo
)
{}
#[
deny
(
elided_lifetimes_in_paths
)]
mod
w
{
fn
test2
(
_
:
super
::
Foo
)
{}
//~^ ERROR hidden lifetime parameters in types are deprecated
}
fn
main
()
{}