Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-20009.rs
blob: 4d091f3a962c64d4d23caf93ca966daa84879043 [
file
] [
log
] [
blame
]
//@ 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
()
{}