Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
traits
/
trait-alias
/
issue-75983.rs
blob: f9a7f36de43f1fd09ba38e1a9c3b7bc928fbb56d [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
trait_alias
)]
struct
Bar
;
trait
Foo
{}
impl
Foo
for
Bar
{}
trait
Baz
=
Foo
where
Bar
:
Foo
;
fn
new
()
->
impl
Baz
{
Bar
}
fn
main
()
{
let
_
=
new
();
}