rust/tests/target/non-lifetime-binders.rs

11 lines
166 B
Rust
Raw Normal View History

2023-07-19 15:50:00 -05:00
fn main()
where
for<'a, T: Sized + 'a, const C: usize> [&'a T; C]: Sized,
{
let x = for<T> || {};
let y: dyn for<T> Into<T>;
let z: for<T> fn(T);
}