2023-11-06 23:41:25 +00:00
|
|
|
//@ revisions: current next
|
2024-03-10 21:18:41 -04:00
|
|
|
//@ ignore-compare-mode-next-solver (explicit revisions)
|
2023-12-14 13:11:28 +01:00
|
|
|
//@[next] compile-flags: -Znext-solver
|
2023-11-06 23:41:25 +00:00
|
|
|
//@ check-pass
|
|
|
|
|
|
|
|
#![feature(non_lifetime_binders)]
|
|
|
|
//~^ WARN the feature `non_lifetime_binders` is incomplete and may not be safe
|
|
|
|
|
|
|
|
fn trivial<A>()
|
|
|
|
where
|
|
|
|
for<B> dyn Fn(A, *const B): Fn(A, *const B),
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
trivial::<u8>();
|
|
|
|
}
|