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