summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-35241.rs
blob: 2fa762475da958c42647522286790ff0d516dbcd (plain)
1
2
3
4
5
struct Foo(u32);

fn test() -> Foo { Foo } //~ ERROR mismatched types

fn main() {}