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

Rename AllocRef to Allocator and (de)alloc to (de)allocate #79286

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

TimDiekmann
Copy link
Member

@TimDiekmann TimDiekmann commented Nov 22, 2020

Calling Box::alloc_ref and Vec::alloc_ref sounds like allocating a reference. To solve this ambiguity, this renames AllocRef to Allocator and alloc to allocate. For a more detailed explaination see rust-lang/wg-allocators#76.

closes rust-lang/wg-allocators#76

r? @KodrAus
@rustbot modify labels: +A-allocators +T-libs
@rustbot ping wg-allocators

@rustbot rustbot added A-allocators Area: Custom and system allocators T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Nov 22, 2020
@rustbot
Copy link
Collaborator

rustbot commented Nov 22, 2020

Error: Parsing ping command in comment failed: ...'tbot ping:' | error: no team specified at >| ' wg-alloca'...

Please let @rust-lang/release know if you're having trouble with this bot.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 22, 2020
@rustbot
Copy link
Collaborator

rustbot commented Nov 22, 2020

Error: Only Rust team members can ping teams.

Please let @rust-lang/release know if you're having trouble with this bot.

@TimDiekmann
Copy link
Member Author

Nice, I can't ping my own team. 🙁

cc @Amanieu @Lokathor @Wodann @CAD97 @scottjmaddox

@bors
Copy link
Contributor

bors commented Nov 23, 2020

☔ The latest upstream changes (presumably #79186) made this pull request unmergeable. Please resolve the merge conflicts.

Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:

@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author

@bors
Copy link
Contributor

bors commented Nov 29, 2020

☔ The latest upstream changes (presumably #79529) made this pull request unmergeable. Please resolve the merge conflicts.

Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:

@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author

Copy link

@Wodann Wodann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good to me.

@m-ou-se m-ou-se assigned m-ou-se and unassigned KodrAus Dec 4, 2020
@m-ou-se
Copy link
Member

m-ou-se commented Dec 4, 2020

@bors r=Lokathor,Wodann,m-ou-se

@bors
Copy link
Contributor

bors commented Dec 4, 2020

📌 Commit 9274b37 has been approved by Lokathor,Wodann,m-ou-se

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 4, 2020
@bors
Copy link
Contributor

bors commented Dec 4, 2020

⌛ Testing commit 9274b37 with merge 938c9f1415de9805ec074fca89c0c080ac7e4efe...

@bors
Copy link
Contributor

bors commented Dec 4, 2020

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 4, 2020
@m-ou-se
Copy link
Member

m-ou-se commented Dec 4, 2020

Apparently the Apple runners are timing out again :(

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 4, 2020
@bors
Copy link
Contributor

bors commented Dec 4, 2020

⌛ Testing commit 9274b37 with merge 5034e7a7bf3f5384025dc390c4804a23b160551a...

@bors
Copy link
Contributor

bors commented Dec 4, 2020

⌛ Testing commit 9274b37 with merge 3ff10e7...

@bors
Copy link
Contributor

bors commented Dec 4, 2020

☀️ Test successful - checks-actions
Approved by: Lokathor,Wodann,m-ou-se
Pushing 3ff10e7 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 4, 2020
@bors bors merged commit 3ff10e7 into rust-lang:master Dec 4, 2020
@rustbot rustbot added this to the 1.50.0 milestone Dec 4, 2020
@rust-highfive
Copy link
Collaborator

📣 Toolstate changed by #79286!

Tested on commit 3ff10e7.
Direct link to PR: #79286

💔 miri on windows: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).
💔 miri on linux: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).
💔 nomicon on windows: test-pass → test-fail (cc @Gankra @frewsxcv).
💔 nomicon on linux: test-pass → test-fail (cc @Gankra @frewsxcv).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Dec 4, 2020
Tested on commit rust-lang/rust@3ff10e7.
Direct link to PR: <rust-lang/rust#79286>

💔 miri on windows: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).
💔 miri on linux: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).
💔 nomicon on windows: test-pass → test-fail (cc @Gankra @frewsxcv).
💔 nomicon on linux: test-pass → test-fail (cc @Gankra @frewsxcv).
@bors bors mentioned this pull request Dec 4, 2020
@TimDiekmann TimDiekmann deleted the rename-allocref branch December 4, 2020 23:13
bors added a commit to rust-lang/miri that referenced this pull request Dec 5, 2020
Update to new core::alloc::Allocator interface

This fixes the allocator test for the changes made to the allocator trait in `core` in rust-lang/rust#79286

See rust-lang/rust#79709
@LeSeulArtichaut
Copy link
Contributor

Nice, I can't ping my own team. 🙁

Since you're a member of the rust-lang org, you can ping the team with a simple @-mention: @rust-lang/wg-allocators.
The @rustbot ping command is used for notification groups, which don't have a GitHub team, like the Cleanup Crew.

@TimDiekmann
Copy link
Member Author

I have become a member since then, but thanks for the info!

@TimDiekmann TimDiekmann mentioned this pull request Dec 7, 2020
18 tasks
caelunshun added a commit to caelunshun/hashbrown that referenced this pull request Dec 8, 2020
caelunshun added a commit to caelunshun/hashbrown that referenced this pull request Dec 8, 2020
bors added a commit to rust-lang/hashbrown that referenced this pull request Dec 8, 2020
Account for renaming AllocRef to Allocator on nightly

`AllocRef` was renamed to `Allocator` in rust-lang/rust#79286.
rusty122 added a commit to rusty122/wg-allocators that referenced this pull request Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-allocators Area: Custom and system allocators merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename AllocRef to Allocator and alloc to allocate
9 participants