mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
11 lines
147 B
Rust
11 lines
147 B
Rust
#![feature(non_lifetime_binders)]
|
|
|
|
pub trait Trait<T> {}
|
|
|
|
pub fn f(_: impl for<T> Trait<T>) {}
|
|
|
|
pub fn g<T>(_: T)
|
|
where
|
|
T: for<U> Trait<U>,
|
|
{}
|