Skip to content

Conversation

@JustForFun88
Copy link
Contributor

Just preparation for the upcoming for "Add new MIR constant propagation based on dataflow analysis" rust-lang/rust#101168, but this change is also useful on its own.

@JustForFun88 JustForFun88 changed the title Make mem::size_of::<T>() == 0 const Make mem::size_of::<T>() == 0, TableLayout::new::<T>() and mem::needs_drop::<T>() const Oct 11, 2022
@Amanieu
Copy link
Member

Amanieu commented Oct 12, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Oct 12, 2022

📌 Commit 4e39290 has been approved by Amanieu

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Oct 12, 2022

⌛ Testing commit 4e39290 with merge e39d245...

@bors
Copy link
Contributor

bors commented Oct 12, 2022

☀️ Test successful - checks-actions
Approved by: Amanieu
Pushing e39d245 to master...

@bors bors merged commit e39d245 into rust-lang:master Oct 12, 2022
@bors bors mentioned this pull request Oct 12, 2022
@JustForFun88 JustForFun88 deleted the const_size_of branch October 12, 2022 02:23
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.

3 participants