Skip to content

Rollup of 9 pull requests #38826

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 18 commits into from
Closed

Conversation

frewsxcv and others added 18 commits December 15, 2016 12:55
These are some bare-bones documentation for custom derive, needed
to stabilize "macros 1.1",
rust-lang#35900

The book chapter is based off of a blog post by @cbreeden,
https://cbreeden.github.io/Macros11/

Normally, we have a policy of not mentioning external crates in
documentation. However, given that syn/quote are basically neccesary
for properly using macros 1.1, I feel that not including them here
would make the documentation very bad. So the rules should be bent
in this instance.
Clarify zero-value behavior of `ctlz`/`cttz` intrinsics.

Fixes rust-lang#34381.
…aumeGomez

Clarify behavior of `VecDeque::insert`.

Fixes rust-lang#37046.
…nkov

Add test for correct span for type

Adds test for and closes rust-lang#27522.
…nkov

Test for appropriate span on second custom derive

Adds test for and closes rust-lang#36935.
Replace uses of `#[unsafe_destructor_blind_to_params]` with `#[may_dangle]`

CC rust-lang#34761

r? @pnkfelix
…ikomatsakis

Document custom derive.

These are some bare-bones documentation for custom derive, needed
to stabilize "macros 1.1",
rust-lang#35900

The book chapter is based off of a blog post by @cbreeden,
https://cbreeden.github.io/Macros11/

Normally, we have a policy of not mentioning external crates in
documentation. However, given that syn/quote are basically neccesary
for properly using macros 1.1, I feel that not including them here
would make the documentation very bad. So the rules should be bent
in this instance.

So far, this PR includes only docs; @alexcrichton said in rust-lang#35900 that he'd be okay with landing them before stabilization; I don't mind either way.
…meGomez

Add more docs for CoerceUnsized and Unsize

here be dragons

r? @ubsan @steveklabnik
@rust-highfive
Copy link
Contributor

r? @steveklabnik

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

@GuillaumeGomez
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Collaborator

bors commented Jan 4, 2017

📌 Commit 05913bd has been approved by GuillaumeGomez

@bors
Copy link
Collaborator

bors commented Jan 4, 2017

⌛ Testing commit 05913bd with merge bc7139b...

@bors
Copy link
Collaborator

bors commented Jan 4, 2017

💔 Test failed - status-travis

@bors
Copy link
Collaborator

bors commented Jan 4, 2017

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

@GuillaumeGomez GuillaumeGomez deleted the rollup branch January 4, 2017 23:23
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.