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 10 pull requests #24637

Closed
wants to merge 33 commits into from
Closed

Conversation

rprichard and others added 30 commits April 17, 2015 05:05
The current code attempts to define the
PRETTY_DEPS$(1)_H_$(3)_pretty-rpass-full variable, which does not work,
because $(1) and $(3) are not inside a function. Moving it into a function
helps, but we need the target library (TLIB), not the host library (HLIB).
Moreover, there is a test (run-pass-fulldeps/compiler-calls.rs) that uses
rustc_driver, which is not an indirect dependency of librustc or libsyntax.
Listing all the dependencies will be hard to maintain, but there's a better
way to do this...

As with the rpass-full and cfail-full tests, add dependencies using the
$$(CSREQ$(1)_T_$(2)_H_$(3)) variable, which includes the complete set of
host and target crates, built for a particular stage, host, and target.

Fixes rust-lang#22021
As far as I can tell, this conversion to integer to floating point does not need to happen and is beside the point
Now that we're not doing the guessing game, a lot of this is irrelevant.
We want to talk about how to pattern match on structs, so let's bump
it back one.
It's a trait implementation, so we need traits first.
It's a language feature, so it belongs here.
Let's talk about generics first, since we use traits to bound them
in funtions.

Partially addresses rust-lang#24325

Fixes rust-lang#24271
Without the `box` keyword, one of these two reasons is not correct, so
let's just eliminate this section and elaborate on the reason for the
legit use case inline.

Fixes rust-lang#24511
Due to documenting `transmute`, addresses part of rust-lang#12905
The slice patterns example was nice, so let's put it with the other
slice pattern feature gate documentation.

Fixes rust-lang#24573
This required fixing the `pretty-rpass-full` tests to have the same `$$(CSREQ$(1)_T_$(2)_H_$(3))`  dependencies as the `rpass-full` and `cfail-full` tests.  It also required fixing the `run-make/simd-ffi` test to use unique names for its output files.
A bunch of chapters, fixes an issue or two as well.

r? @alexcrichton
As far as I can tell, this conversion to integer to floating point does not need to happen and is beside the point
Fixes rust-lang#24173 

These docs could all use examples, so for now, let's just remove the bad one, and when I go over this whole module I'll put in better ones.
Without the `box` keyword, one of these two reasons is not correct, so
let's just eliminate this section and elaborate on the reason for the
legit use case inline.

Fixes rust-lang#24511
…richton

Due to documenting `transmute`, addresses part of rust-lang#12905
@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

@steveklabnik
Copy link
Member Author

@bors: r+ p=100

@bors
Copy link
Contributor

bors commented Apr 20, 2015

📌 Commit fb57ba0 has been approved by steveklabnik

@bors
Copy link
Contributor

bors commented Apr 20, 2015

⌛ Testing commit fb57ba0 with merge 064a677...

bors added a commit that referenced this pull request Apr 20, 2015
@bors
Copy link
Contributor

bors commented Apr 20, 2015

💔 Test failed - auto-linux-64-x-android-t

@steveklabnik
Copy link
Member Author

@bors: retry force

@bors
Copy link
Contributor

bors commented Apr 20, 2015

@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.

8 participants