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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
113 B
Rust
Raw Normal View History

2023-12-14 06:11:28 -06:00
// compile-flags: -Znext-solver
// check-pass
fn foo<T>(x: T) {
std::mem::discriminant(&x);
}
fn main() {}