rust/tests/crashes/118038.rs

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

13 lines
169 B
Rust
Raw Normal View History

//@ known-bug: #118038
#![feature(non_lifetime_binders)]
fn trivial<A>()
where
for<B> dyn Fn(A, *const A): Fn(A, *const B),
{
}
fn main() {
trivial::<u8>();
}