blob: c25bdff16fd2e994669e531086d5cebfc561861e [file] [log] [blame]
// https://github.com/rust-lang/rust/issues/72076
trait X {
type S;
fn f() -> Self::S {} //~ ERROR mismatched types
}
fn main() {}