rust/src/test/ui/issues/issue-72076.rs
2020-05-12 10:56:26 -07:00

7 lines
90 B
Rust

trait X {
type S;
fn f() -> Self::S {} //~ ERROR mismatched types
}
fn main() {}