We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is an even worse version of #3766. There's no way that I can figure out to get destructuring a struct cross crates working. Here's an example:
foo.rs:
pub struct Foo { foo: int, }
bar.rs:
extern mod foo; use foo::Foo; fn main() { let Foo { foo: _foo } = Foo { foo: 1 }; }
Errors with:
bar.rs:5:8: 5:11 error: `Foo` does not name a structure bar.rs:5 let Foo { foo: _foo } = Foo { foo: 1 }; ^~~ error: aborting due to previous error
The text was updated successfully, but these errors were encountered:
wonder if this is related to #3177
Sorry, something went wrong.
Fixed in 3f78e0e.
Add --config command line option (rust-lang#3767)
e81ec20
No branches or pull requests
This is an even worse version of #3766. There's no way that I can figure out to get destructuring a struct cross crates working. Here's an example:
foo.rs:
bar.rs:
Errors with:
The text was updated successfully, but these errors were encountered: