Skip to content

Rollup of 11 pull requests - #38834

Closed
steveklabnik wants to merge 23 commits into
rust-lang:masterfrom
steveklabnik:rollup
Closed

Rollup of 11 pull requests#38834
steveklabnik wants to merge 23 commits into
rust-lang:masterfrom
steveklabnik:rollup

Conversation

frewsxcvand others added 23 commits December 15, 2016 12:55
```rust
let vr = v.iter().filter(|x| {
x % 2 == 0
});
```
will now yield the following compiler output:
```bash
ERROR binary operation `%` cannot be applied to type `&&_`
NOTE this is a reference of a reference to a type that `%` can be applied to,
you need to dereference this variable once for this operation to work
NOTE an implementation of `std::ops::Rem` might be missing for `&&_`
```
The first NOTE is new.
Bug rust-lang#33877
We don't actually use trampoline_setup.c and all the `*tf3` business
seems related to f80/f128 business. Specifically this'll fix some
warnings showing up during builds on OSX.
Since 8285ab5, which was merged in with rust-lang#38061, the help for the
--print option is missing the surrounding [ ] around the possible
options.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Due to rust-lang#28728 loop {} is very risky and can lead to fun debugging experiences like in rust-lang#38136. Besides, aborting is probably better behavior than an infinite loop.
book: use abort() over loop {} for panic
Due to rust-lang#28728 `loop {}` is very risky and can lead to fun debugging experiences such as rust-lang#38136. Besides, aborting is probably better behavior than an infinite loop.
r? @steveklabnik
Clarify zero-value behavior of `ctlz`/`cttz` intrinsics.
Fixesrust-lang#34381.
…aumeGomez
Clarify behavior of `VecDeque::insert`.
Fixesrust-lang#37046.
…nkov
Test for appropriate span on second custom derive
Adds test for and closesrust-lang#36935.
Detect double reference when applying binary op
``` rust
let vr = v.iter().filter(|x| {
x % 2 == 0
});
```
will now yield the following compiler output:
``` bash
ERROR binary operation `%` cannot be applied to type `&&_`
NOTE this is a reference of a reference to a type that `%` can be applied to,
you need to dereference this variable once for this operation to work
NOTE an implementation of `std::ops::Rem` might be missing for `&&_`
```
The first NOTE is new.
Fixrust-lang#33877
----
Thanks to @estebank for providing the original PR rust-lang#34420 (of which this is a tweaked rebase).
…turon
std: Remove unused objects from compiler-builtins
We don't actually use trampoline_setup.c and all the `*tf3` business
seems related to f80/f128 business. Specifically this'll fix some
warnings showing up during builds on OSX.
Replace uses of `#[unsafe_destructor_blind_to_params]` with `#[may_dangle]`
CC rust-lang#34761
r? @pnkfelix
fix help for the --print option
Since 8285ab5, which was merged in with rust-lang#38061, the help for the
--print option is missing the surrounding [ ] around the possible
options.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
…meGomez
Add more docs for CoerceUnsized and Unsize
here be dragons
r? @ubsan@steveklabnik
@steveklabnik

Copy link
Copy Markdown
ContributorAuthor

@bors: r+ p=1

@bors

bors commented Jan 4, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 6316e43 has been approved by steveklabnik

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @brson

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

@bors

bors commented Jan 5, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 6316e43 with merge 00f0990...

@bors

bors commented Jan 5, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@pnkfelix

Copy link
Copy Markdown
Contributor

Hmm, it seems I screwed up my fix to #38617 ; I recognize that old use of token::intern (that I think needs to become Symbol::intern).

I thought I had pushed the corrected version but obviously I did not.

@pnkfelix

Copy link
Copy Markdown
Contributor

Aha: I did push a corrected commit: b8669df

but bors interpreted my r+ here: #38617 (comment) as if it was referring to 98218b3 (again!)

@frewsxcvfrewsxcv mentioned this pull request Jan 9, 2017
@bors

bors commented Jan 10, 2017

Copy link
Copy Markdown
Collaborator

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

@sanxiyn

Copy link
Copy Markdown
Contributor

Pull requests other than #38617 and #38629 are now merged. Closing.

@sanxiynsanxiyn closed this Jan 11, 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 rollup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

15 participants

@steveklabnik@bors@rust-highfive@pnkfelix@sanxiyn@brson@Centril@frewsxcv@estebank@alexcrichton@bombless@apasel422@minaguib@cardoe@Manishearth