summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/non-lifetime-binders.rs
blob: ca6941a0c00be46308ad3590fdf78e974e29136b (plain)
1
2
3
4
5
6
7
8
9
10
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);
}