Sign in
fuchsia
/
third_party
/
rust
/
5a2fceefd312ec027bdeaa89ebefbe4c33d94de1
/
.
/
tests
/
ui
/
issues
/
issue-20009.rs
blob: 4d091f3a962c64d4d23caf93ca966daa84879043 [
file
]
//@ check-pass
// Check that associated types are `Sized`
trait
Trait
{
type
Output
;
fn
is_sized
(&
self
)
->
Self
::
Output
;
fn
wasnt_sized
(&
self
)
->
Self
::
Output
{
loop
{}
}
}
fn
main
()
{}