Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
regions
/
forall-wf-reflexive.rs
blob: 3748ee2b8cc8fc857372ce49e2099fcd6b25423d [
file
] [
log
] [
blame
]
// Test that we consider `for<'a> T: 'a` to be sufficient to prove
// that `for<'a> T: 'a`.
//
//@ check-pass
#![
allow
(
warnings
)]
fn
self_wf1
<
T
>()
where
for
<
'a> T: '
a
,
{
self_wf1
::<
T
>();
}
fn
main
()
{}