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

14 lines
179 B
Rust
Raw Normal View History

2023-12-14 13:11:28 +01:00
//@ compile-flags: -Znext-solver
//@ check-pass
#![feature(const_trait_impl)]
fn foo(_: impl std::marker::Destruct) {}
struct MyAdt;
fn main() {
foo(1);
foo(MyAdt);
}