]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type/type-params-in-different-spaces-3.rs
Rollup merge of #105843 - compiler-errors:sugg-const, r=lcnr
[rust.git] / src / test / ui / type / type-params-in-different-spaces-3.rs
1 trait Tr : Sized {
2     fn test<X>(u: X) -> Self {
3         u   //~ ERROR mismatched types
4     }
5 }
6
7 fn main() {}