Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/heads/upstream/master
/
.
/
tests
/
crashes
/
132765.rs
blob: 01e8fdaacff7761b0e33e247a614edcc385a92cf [
file
] [
log
] [
blame
] [
edit
]
//@ known-bug: #132765
trait
LendingIterator
{
type
Item
<
'
q
>;
fn
for_each
(&
self
,
_f
:
Box
<
fn
(
Self
::
Item
<
'
_
>)>)
{}
}
fn
f
(
_
:
())
{}
fn
main
()
{
LendingIterator
::
for_each
(&(),
f
);
}