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

Rollup of 15 pull requests #33629

Closed
wants to merge 31 commits into from
Closed

Rollup of 15 pull requests #33629

wants to merge 31 commits into from

Conversation

dns2utf8 and others added 30 commits May 10, 2016 11:06
- Adding name attribute to the sample code - Fix description sentences
For example, `Vec::len` is both a field and a method, and usually
encountering `vec.len` just means that the parens were forgotten.

Fixes: rust-lang#26472
It isn't "newly introduced" anymore.
Looks more nice, and same is done with prior examples
typeck: if a private field exists, also check for a public method

For example, `Vec::len` is both a field and a method, and usually encountering `vec.len` just means that the parens were forgotten.

Fixes: rust-lang#26472

NOTE: I added the parameter `allow_private` to `method::exists` since I don't want to suggest inaccessible methods. For the second case, where only the method exists, I think it would make sense to set it to `false` as well, but I wanted to preserve compatibility for this case.
…tion, r=steveklabnik

Add error description for E0455

r? @GuillaumeGomez.

About this error there is no much thing to explain. The short description says enough to understand. Feel free to review.
Add error explanations for E0374, E0375, E0376 on issue rust-lang#32777
Simplify text

This way it should be clear: Any number of other threads have this guaranty not just one other thread.
Fix typo in std::sync::Once documentation
Cleanup formatting and wording for `std::env::temp_dir` docs.

None
update "reason" for fnbox feature gate

It isn't "newly introduced" anymore.
…laumeGomez

Use the correct word in the explanation

r? @steveklabnik
doc: Fix comment in std::string::String example code
doc: to_string not needed since we gots coercion
doc: line these comments up

Looks more nice, and same is done with prior examples
doc: use less awkward and less confusing language
@rust-highfive
Copy link
Collaborator

r? @pnkfelix

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

@sanxiyn
Copy link
Member Author

sanxiyn commented May 14, 2016

@bors r+ p=1

@bors
Copy link
Contributor

bors commented May 14, 2016

📌 Commit 7ba8ec7 has been approved by sanxiyn

@bors
Copy link
Contributor

bors commented May 14, 2016

⌛ Testing commit 7ba8ec7 with merge a9d15db...

bors added a commit that referenced this pull request May 14, 2016
Rollup of 15 pull requests

- Successful merges: #33342, #33393, #33415, #33475, #33517, #33533, #33534, #33565, #33580, #33590, #33591, #33598, #33603, #33604, #33605
- Failed merges: #33578
@bors
Copy link
Contributor

bors commented May 14, 2016

💔 Test failed - auto-win-gnu-32-opt-rustbuild

@arielb1
Copy link
Contributor

arielb1 commented May 14, 2016

    error: could not exec the linker `gcc`: The filename or extension is too long. (os error 206)

@sanxiyn sanxiyn closed this May 16, 2016
@sanxiyn sanxiyn deleted the rollup branch May 16, 2016 03:26
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.