Skip to content

Rollup of 5 pull requests #60567

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

Merged
merged 17 commits into from
May 6, 2019
Merged

Rollup of 5 pull requests #60567

merged 17 commits into from
May 6, 2019

Conversation

Manishearth
Copy link
Member

Successful merges:

Failed merges:

r? @ghost

agnxy and others added 17 commits April 20, 2019 15:45
…r=alexcrichton

Stop `-O`/`-C opt-level` and `-g`/`-C debuginfo` conflicting

Allow `-O` and `-C opt-level`, and `-g` and `-C debuginfo` to be specified simultaneously without conflict. In such cases, the rightmost provided option is chosen.

Fixes rust-lang#7493.
Fixes rust-lang#32352.

~Blocked on rust-lang/getopts#79

r? @alexcrichton
rustc: rename all occurences of "freevar" to "upvar".

Most of the more recent code talks about "(closure) upvars", so I believe that's the name we want to use.
There's also the possibility of using "capture" which is more user-facing, but I'd rather not change *both* "freevar" and "upvar" to something else in this one PR.

cc @nikomatsakis @petrochenkov
…dtolnay

Correct code points to match their textual description

Probably due to a copy-paste error, in the sentence

> For example, despite looking similar, the 'é' character is one Unicode code point while 'é' is two Unicode code points:

the two `é`'s were actually the same character in the text (i.e. the same Unicode character U+00E9).
The code listing below instead had two different Unicode characters for the two `é`s, as it was supposed to.
The example shown wasn't clear at first so I started inspecting the text and found this out.
I simply copied the character from the code listing to the description surrounding the code.
It's a minor thing but I thought it would make things clearer for others, especially since the example is about how Rust handles `char`s.
@Manishearth
Copy link
Member Author

@bors r+ p=2

@bors
Copy link
Collaborator

bors commented May 5, 2019

📌 Commit ff7ef11 has been approved by Manishearth

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 5, 2019
@bors
Copy link
Collaborator

bors commented May 5, 2019

⌛ Testing commit ff7ef11 with merge 40bd145...

bors added a commit that referenced this pull request May 5, 2019
Rollup of 5 pull requests

Successful merges:

 - #60131 (Fix broken link in rustc_plugin doc)
 - #60426 (Stop `-O`/`-C opt-level` and `-g`/`-C debuginfo` conflicting)
 - #60515 (use span instead of div for since version)
 - #60530 (rustc: rename all occurences of "freevar" to "upvar".)
 - #60536 (Correct code points to match their textual description)

Failed merges:

r? @ghost
@bors
Copy link
Collaborator

bors commented May 6, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: Manishearth
Pushing 40bd145 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 6, 2019
@bors bors merged commit ff7ef11 into rust-lang:master May 6, 2019
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
@Manishearth Manishearth deleted the rollup-rjagqnw branch June 22, 2020 18:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants