Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
cross-crate
/
auxiliary
/
xcrate_associated_type_defaults.rs
blob: d8a55dd34bcf0bbc8adcda0e8e6a5a4efdfccac4 [
file
] [
log
] [
blame
]
#![
feature
(
associated_type_defaults
)]
pub
trait
Foo
<
T
:
Default
+
ToString
>
{
type
Out
:
Default
+
ToString
=
T
;
}
impl
Foo
<
u32
>
for
()
{
}
impl
Foo
<
u64
>
for
()
{
type
Out
=
bool
;
}