Skip to content

Fix unit structs in cross-crate situtations #8374

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

Closed
wants to merge 1 commit into from

Conversation

alexcrichton
Copy link
Member

This involved defining the name in the ValueNS as well as the TypeNS if there were 0 variants.

r? @pcwalton (or others who are more familiar with resolve than I)

Closes #7634

@bblum
Copy link
Contributor

bblum commented Aug 7, 2013

🎩 ☀️ 🍉 ✈️ ‼️

@emberian
Copy link
Member

emberian commented Aug 8, 2013

Closing; in my rollup.

@emberian emberian closed this Aug 8, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 10, 2022
Support `cargo dev bless` for tests with revisions

changelog: internal: Support `cargo dev bless` for tests with revisions

Previously bless wouldn't pick up the saved stderr from `target/debug/tests/manual_assert.stage-id.edition2021.stderr` or `target/debug/tests/manual_assert.stage-id.edition2018.stderr` due to there being multiple revisions of the test output

This tweaks compile-test so the built files end up in e.g. `target/debug/tests/ui`, `target/debug/tests/ui-cargo` rather than share the `tests` dir. `cargo dev bless` then uses that to update all the `.stdout/stdout/fixed` files it can find

Also removes an empty file I found, and the logic to remove empty outputs as compiletest doesn't produce empty `.stdout/stderr` files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cross-crate unit structs are broken
3 participants