rust/tests/ui/traits/non_lifetime_binders/object-lifetime-default-for-late.rs

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

8 lines
187 B
Rust
Raw Normal View History

// check-pass
// compile-flags: --crate-type=lib
#![feature(non_lifetime_binders)]
//~^ WARN the feature `non_lifetime_binders` is incomplete
pub fn f<T>() where for<U> (T, U): Copy {}