Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
shorthand-projection-in-rpitit-bound.rs
blob: 102b53f49570cb5aa5dacdf7b844348253f0b605 [
file
] [
log
] [
blame
]
//@ check-pass
// Ensure that we can resolve a shorthand projection in an item bound in an RPITIT.
pub
trait
Bar
{
type
Foo
;
}
pub
trait
Baz
{
fn
boom
<
X
:
Bar
>()
->
impl
Bar
<
Foo
=
X
::
Foo
>;
}
fn
main
()
{}