rust/tests/ui/traits/non_lifetime_binders/sized-late-bound-issue-114872.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
212 B
Rust
Raw Normal View History

// 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() {}