rust/tests/ui/issues/issue-35241.rs
2023-01-11 09:32:08 +00:00

5 lines
84 B
Rust

struct Foo(u32);
fn test() -> Foo { Foo } //~ ERROR mismatched types
fn main() {}