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