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

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

9 lines
119 B
Rust
Raw Normal View History

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