Sign in
fuchsia
/
third_party
/
rust
/
0.4
/
.
/
src
/
test
/
compile-fail
/
rec-missing-fields.rs
blob: fad12e24a7cdd5800c2ee742ae30ca71e90a6c96 [
file
] [
log
] [
blame
]
// -*- rust -*-
// error-pattern: mismatched types
// Issue #51.
type
point
=
{
x
:
int
,
y
:
int
};
fn
main
()
{
let
p
:
point
=
{
x
:
10
};
log
(
debug
,
p
.
y
);
}