Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
nll
/
empty-type-predicate.rs
blob: ad18375f047a487ac425959cb1fa56c87762b8a1 [
file
] [
log
] [
blame
]
// Regression test for #61315
//
// `dyn T:` is lowered to `dyn T: ReEmpty` - check that we don't ICE in NLL for
// the unexpected region.
//@ check-pass
trait
T
{}
fn
f
()
where dyn T
:
{}
fn
main
()
{
f
();
}