]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-72076.rs
Rollup merge of #72369 - Lucretiel:socketaddr-parse, r=dtolnay
[rust.git] / src / test / ui / issues / issue-72076.rs
1 trait X {
2     type S;
3     fn f() -> Self::S {} //~ ERROR mismatched types
4 }
5
6 fn main() {}