Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
traits
/
negative-bounds
/
opaque-type-unsatisfied-fn-bound.rs
blob: bb2e861a1a770117780630e94d9fce57a97bc28e [
file
] [
log
] [
blame
]
// compile-flags: -Znext-solver
#![
feature
(
negative_bounds
,
unboxed_closures
)]
fn
produce
()
->
impl
!
Fn
<(
u32
,)>
{}
//~^ ERROR type mismatch resolving `() == impl !Fn<(u32,)>`
fn
main
()
{}