Sign in
fuchsia
/
third_party
/
rust
/
refs/heads/upstream/stable
/
.
/
tests
/
pretty
/
path-type-bounds.rs
blob: e7ae1331e40123957c3b1b393f51b420c054778f [
file
] [
log
] [
blame
]
//@ pp-exact
trait
Tr
{
fn
dummy
(&
self
)
{}
}
impl
Tr
for
isize
{}
fn
foo
<
'a>(x: Box<Tr + Sync + '
a
>)
->
Box
<
Tr
+
Sync
+
'
a
>
{
x
}
fn
main
()
{
let
x
:
Box
<
Tr
+
Sync
>;
Box
::
new
(
1isize
)
as
Box
<
Tr
+
Sync
>;
}