rust/tests/ui/issues/issue-72076.rs
2023-01-11 09:32:08 +00:00

7 lines
90 B
Rust

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