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