☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
tuple_struct1.rs
☽
☼
gcc/testsuite/rust/compile/tuple_struct1.rs
code
plain
raw
1
struct Foo {
2
one: i32,
3
two: i32,
4
}
5
6
fn main() {
7
let a = Foo(1, 2); // { dg-error "expected function, tuple struct or tuple variant, found struct 'Foo'" }
8
}