summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-11337.rs
blob: 0bed4035f6bf492c4c6d21af0a8b2b107cdfb5e4 (plain)
1
2
3
4
5
6
7
8
9
#![feature(trait_alias)]

trait Confusing<F> = Fn(i32) where F: Fn(u32);

fn alias<T: Confusing<F>, F>(_: T, _: F) {}

fn main() {
    alias(|_| {}, |_| {});
}