9 lines
119 B
Rust
9 lines
119 B
Rust
// compile-flags: -Ztrait-solver=next
|
|
// check-pass
|
|
|
|
fn foo<T>(x: T) {
|
|
std::mem::discriminant(&x);
|
|
}
|
|
|
|
fn main() {}
|