Sign in
fuchsia
/
third_party
/
rust
/
5670d048c0f88af9976b5505c7853b23dd06770d
/
.
/
src
/
test
/
ui
/
nll
/
empty-type-predicate.rs
blob: 48073f8749e757e1f39bd19f2e2304a334482d82 [
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.
// build-pass (FIXME(62277): could be check-pass?)
trait
T
{}
fn
f
()
where dyn T
:
{}
fn
main
()
{}