Skip to content
New issue

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

Cross-crate unit structs are broken #7634

Closed
emberian opened this issue Jul 7, 2013 · 3 comments
Closed

Cross-crate unit structs are broken #7634

emberian opened this issue Jul 7, 2013 · 3 comments
Labels
A-metadata Area: Crate metadata A-resolve Area: Name resolution

Comments

@emberian
Copy link
Member

emberian commented Jul 7, 2013

a.rs:

pub struct Foo;

b.rs:

extern mod a;

fn main() {
    let foo = a::Foo;
}
b.rs:4:14: 4:20 error: unresolved name `a::Foo`.
b.rs:4     let foo = a::Foo;
                     ^~~~~~
error: aborting due to previous error
@mstewartgallus
Copy link
Contributor

I already made an issue covering this #7514 . I apologize if I was unclear in the issue I made's description.

@emberian
Copy link
Member Author

See #7435

@alexcrichton
Copy link
Member

Closed by ffd80aa

flip1995 pushed a commit to flip1995/rust that referenced this issue Sep 8, 2021
…s, r=Manishearth

Fix documentation of eval_order_dependence

Fixes rust-lang#7624.

changelog: fix documentation of eval_order_dependence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-metadata Area: Crate metadata A-resolve Area: Name resolution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants