rust/tests/ui/issues/issue-72076.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
90 B
Rust
Raw Normal View History

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