Sign in
rust
/
rust
/
656d4e8a962ca51f7a76167fc762fabfaec0cbbd
/
.
/
tests
/
ui
/
associated-types
/
missing-default-associated-type-72076.rs
blob: c25bdff16fd2e994669e531086d5cebfc561861e [
file
]
// https://github.com/rust-lang/rust/issues/72076
trait
X
{
type
S
;
fn
f
()
->
Self
::
S
{}
//~ ERROR mismatched types
}
fn
main
()
{}