summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/next-solver/param-discr-kind.rs
blob: c66b0b9f45f8acbc0b5c9b4979480f6e2c0dbd95 (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Znext-solver
// check-pass

fn foo<T>(x: T) {
    std::mem::discriminant(&x);
}

fn main() {}