Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
crashes
/
130346.rs
blob: ee25f0fcc5b193f845cce0c19c358b083dda1a4e [
file
] [
log
] [
blame
] [
edit
]
//@ known-bug: rust-lang/rust#130346
#![
feature
(
non_lifetime_binders
)]
#![
allow
(
unused
)]
trait
A
<
T
>:
Iterator
<
Item
=
T
>
{}
fn
demo
(
x
:
&
mut
impl
for
<
U
>
A
<
U
>)
{
let
_
:
Option
<
u32
>
=
x
.
next
();
// Removing this line stops the ICE
}