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

6 lines
89 B
Rust

struct G;
fn main() {
let g = G(); //~ ERROR: expected function, found struct `G`
}