Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
impl-trait
/
issue-103599.rs
blob: 62741a7454ceed320f3f28237e2d03dffec89138 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
trait
T
{}
fn
wrap
(
x
:
impl
T
)
->
impl
T
{
//~^ WARN function cannot return without recursing
wrap
(
wrap
(
x
))
}
fn
main
()
{}