Skip to content

Use the right type for drop flag datums #27555

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

Merged
merged 1 commit into from
Aug 6, 2015
Merged

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Aug 6, 2015

The drop flags are Lvalue (and thus ByRef) datums that hold a u8 value,
so their value type should be u8, not a pointer to u8.

The drop flags are Lvalue (and thus ByRef) datums that hold a u8 value,
so their value type should be u8, not a pointer to u8.
@rust-highfive
Copy link
Contributor

r? @nrc

(rust_highfive has picked a reviewer for you, use r? to override)

@nrc
Copy link
Member

nrc commented Aug 6, 2015

r? @pnkfelix

@rust-highfive rust-highfive assigned pnkfelix and unassigned nrc Aug 6, 2015
@dotdash
Copy link
Contributor Author

dotdash commented Aug 6, 2015

r? @pnkfelix

I don't think we're using the type anywhere yet, otherwise we'd get type mismatches from LLVM.

@pnkfelix
Copy link
Member

pnkfelix commented Aug 6, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 6, 2015

📌 Commit 38d627f has been approved by pnkfelix

@bors
Copy link
Collaborator

bors commented Aug 6, 2015

⌛ Testing commit 38d627f with merge 8f3901f...

bors added a commit that referenced this pull request Aug 6, 2015
The drop flags are Lvalue (and thus ByRef) datums that hold a u8 value,
so their value type should be u8, not a pointer to u8.
@bors bors merged commit 38d627f into rust-lang:master Aug 6, 2015
@dotdash dotdash deleted the drop_flag_ty branch January 15, 2016 08:40
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.

5 participants