mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
13 lines
169 B
Rust
13 lines
169 B
Rust
//@ 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>();
|
|
}
|