rust/tests/ui/traits/next-solver/param-discr-kind.rs

9 lines
113 B
Rust

// compile-flags: -Znext-solver
// check-pass
fn foo<T>(x: T) {
std::mem::discriminant(&x);
}
fn main() {}