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

8 lines
187 B
Rust

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