Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
mismatched_types
/
recovered-block.rs
blob: a91bbe7083bc28ec5f7cad2998ec2e8efb5ab932 [
file
] [
log
] [
blame
]
use
std
::
env
;
pub
struct
Foo
{
text
:
String
}
pub
fn
foo
()
->
Foo
{
let
args
:
Vec
<
String
>
=
env
::
args
().
collect
();
let
text
=
args
[
1
].
clone
();
pub
Foo
{
text
}
}
//~^^ ERROR missing `struct` for struct definition
fn
main
()
{}