summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/non_lifetime_binders/sized-late-bound-issue-114872.rs
blob: ba55ab0718521fcd4c8042cbb1996aa6596b014b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// check-pass

#![feature(non_lifetime_binders)]
//~^ WARN is incomplete and may not be safe

pub fn foo()
where
    for<V> V: Sized,
{
    bar();
}

pub fn bar()
where
    for<V> V: Sized,
{
}

pub fn main() {}