Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
associated-types
/
issue-65934.rs
blob: e17b11c5eae1c0fa9da921c8b8b358db1c81c5cd [
file
] [
log
] [
blame
]
// check-pass
trait
Trait
{
type
Assoc
;
}
impl
Trait
for
()
{
type
Assoc
=
();
}
fn
unit
()
->
impl
Into
<<()
as
Trait
>::
Assoc
>
{}
pub
fn
ice
()
{
Into
::
into
(
unit
());
}
fn
main
()
{}