Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
associated-types
/
issue-65934.rs
blob: ad9dc388728f3c2ae6adb6acdd5830497b198d76 [
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
()
{}