Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
traits
/
next-solver
/
lazy-nested-obligations-1.rs
blob: 62803b39f77988d4eb3d05fb0967442d6ec38af8 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
//@ compile-flags: -Znext-solver
// Issue 94358
fn
foo
<
C
>(
_
:
C
)
where
for
<
'a> &'
a C
:
IntoIterator
,
for
<
'a> <&'
a C
as
IntoIterator
>::
IntoIter
:
ExactSizeIterator
,
{}
fn
main
()
{
foo
::<
_
>(
vec
![
true
,
false
]);
}