Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
higher-rank-trait-bounds
/
issue-58451.rs
blob: f36d549e476b8baa6b04d25125475c8dd3284965 [
file
] [
log
] [
blame
]
// Regression test for #58451:
//
// Error reporting here encountered an ICE in the shift to universes.
fn
f
<
I
>(
i
:
I
)
where
I
:
IntoIterator
,
I
::
Item
:
for
<
'a> Into<&'
a
()>,
{}
fn
main
()
{
f
(&[
f
()]);
//~ ERROR this function takes 1 argument
}