Sign in
rust
/
rust
/
244fc326f23b58bc9db6bd985c59b80098ff14c1
/
.
/
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
()
{}