Skip to content

Rollup of 7 pull requests - #46266

Closed
kennytm wants to merge 14 commits into
rust-lang:masterfrom
kennytm:rollup
Closed

Rollup of 7 pull requests#46266
kennytm wants to merge 14 commits into
rust-lang:masterfrom
kennytm:rollup

Conversation

davidalberand others added 14 commits November 22, 2017 20:44
Provides the following conversion implementations:
* `From<`{`CString`,`&CStr`}`>` for {`Arc`,`Rc`}`<CStr>`
* `From<`{`OsString`,`&OsStr`}`>` for {`Arc`,`Rc`}`<OsStr>`
* `From<`{`PathBuf`,`&Path`}`>` for {`Arc`,`Rc`}`<Path>`
Closesrust-lang#45008
Implement `Rc`/`Arc` conversions for string-like types
Provides the following conversion implementations:
* `From<`{`CString`,`&CStr`}`>` for {`Arc`,`Rc`}`<CStr>`
* `From<`{`OsString`,`&OsStr`}`>` for {`Arc`,`Rc`}`<OsStr>`
* `From<`{`PathBuf`,`&Path`}`>` for {`Arc`,`Rc`}`<Path>`
Closesrust-lang#45008
…wsxcv
Adding `eprint*!` to the list of macros in the `format!` family
The `eprint!` and `eprintln!` macros were added in 7612727. The `std::fmt` documentation does not mention these macros next to `print!` and `println!` in the [Related macros](https://doc.rust-lang.org/std/fmt/#related-macros) section, and I did not find evidence that this omission was deliberate. This PR adds such documentation.
The first modification is to add `eprint!` and `eprintln!` to the list of related macros in the `format!` family. This is how it appears with this change:
![image](https://user-images.githubusercontent.com/933552/33159527-67056caa-cfc8-11e7-8b7d-4224ef2fce4e.png)
The second modification adds a sub-section for `eprint!` and `eprintln!`. Here is how the new section appears:
![image](https://user-images.githubusercontent.com/933552/33159541-97d03bee-cfc8-11e7-8b95-4d3632b5ab7b.png)
…uietMisdreavus
Remove invalid doc link
r? @rust-lang/docs
Update MSVC compilation instructions regarding path length on Windows
Fixrust-lang#46214
InstCombine Len([_; N]) => const N in MIR
A small opportunity I noticed in passing.
Not super exciting on its own, but opens the door for a const propagation pass that could completely remove const bounds checks from arrays at MIR time, for example.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @BurntSushi

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

@kennytm

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=7

@bors

bors commented Nov 25, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 38003ef has been approved by kennytm

@kennytmkennytm added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 25, 2017
@bors

bors commented Nov 25, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 38003ef with merge 4787f66a46aa9b47ca64bfcff514f3795d1003f5...

@bors

bors commented Nov 25, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@kennytmkennytm closed this Nov 26, 2017
@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-waiting-on-borsStatus: 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.

12 participants

@kennytm@rust-highfive@bors@BurntSushi@Centril@davidalber@GuillaumeGomez@lorepozo@zilbuz@bjorn3@murarth@scottmcm