Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
hrtb
/
issue-58451.rs
blob: 229e50576787970f13cbc023969597e10bc2cfbd [
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 parameter
}