Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
borrowck
/
alias-liveness
/
opaque-type-param.rs
blob: a292463b2ac450c794c6a3d513a2421f5850e9b0 [
file
] [
log
] [
blame
]
// known-bug: #42940
trait
Trait
{}
impl
Trait
for
()
{}
fn
foo
<
'a>(s: &'
a str
)
->
impl
Trait
+
'
static
{
bar
(
s
)
}
fn
bar
<
P
:
AsRef
<
str
>>(
s
:
P
)
->
impl
Trait
+
'
static
{
()
}
fn
main
()
{}