Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
higher-ranked
/
trait-bounds
/
trivial-does-not-hold.rs
blob: fa76686cc8b61da7b63f0c7ba8f1a6fd1553068d [
file
] [
log
] [
blame
]
// Minimized test from #59311.
pub
fn
crash
()
where
for
<
'a> &'
a
():
'
static
,
{
||
{};
//~^ ERROR higher-ranked lifetime error
}
fn
main
()
{}