rust/tests/rustdoc/inline_cross/auxiliary/non_lifetime_binders.rs
2023-10-03 17:41:25 +02:00

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