rust/tests/ui/issues/issue-20714.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
89 B
Rust
Raw Normal View History

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