mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +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>();
|
|
}
|