about summary refs log tree commit diff
path: root/tests/crashes/118038.rs
blob: a346e84c78f4978adfc2af6c1186bf3a8798da42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ known-bug: #118038
#![feature(non_lifetime_binders)]

fn trivial<A>()
where
    for<B> dyn Fn(A, *const A): Fn(A, *const B),
{
}

fn main() {
    trivial::<u8>();
}