Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
run-make
/
translation
/
test.rs
blob: b8f5bff315337cba90a3b6a1feebf7efb90c2c03 [
file
] [
log
] [
blame
] [
edit
]
// Exact error being tested isn't relevant, it just needs to be known that it uses Fluent-backed
// diagnostics.
struct
Foo
{
val
:
(),
}
fn
foo
()
->
Foo
{
val
:
(),
}
fn
main
()
{
let
x
=
foo
();
x
.
val
==
42
;
let
x
=
{
val
:
(),
};
}