Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
lint
/
unused
/
issue-104397.rs
blob: c17e532c17f2036a3703152b2b8a4352d2f806d6 [
file
] [
log
] [
blame
]
// check-pass
#![
warn
(
unused
)]
#![
deny
(
warnings
)]
struct
Inv
<
'a>(#[allow(dead_code)] &'
a
mut
&
'
a
());
trait
Trait
{}
impl
Trait
for
for
<
'a> fn(Inv<'
a
>)
{}
fn
with_bound
()
where
(
for
<
'a> fn(Inv<'
a
>)):
Trait
,
{}
fn
main
()
{
with_bound
();
}