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 7 pull requests #41987

Merged
merged 14 commits into from
May 14, 2017
Merged

Rollup of 7 pull requests #41987

merged 14 commits into from
May 14, 2017

Conversation

GuillaumeGomez and others added 14 commits May 8, 2017 14:25
Added blank lines around example

Added comment to Add example referencing the Output type

Removed whitespace from lines 272 and 273

Removed Debug derivation from Add examples

Added Debug derivation
This change will allow rust code to have proper support for division
and multiplication using libgcc libcalls.
…meGomez,frewsxcv

Added generic example of std::ops::Add in doc comments

We discussed on IRC how the std::ops examples were potentially missing examples using generics. This PR adds an example to std::ops::Add that shows the use of a generic type T. I'm not sure this is ready for merge as I think the two examples now make the documentation a bit verbose, but I think it's a good starting point. I'd love to hear others thoughts on this. This is in relation to the last item in issue rust-lang#29365.
…, r=frewsxcv

Add markdown-[before|after]-content options

cc @nical

r? @rust-lang/docs
…petrochenkov

rustc_resolve: don't deny outer type parameters in embedded constants.

This solves a problem noted at rust-lang#29646 (comment), where an associated const default in a trait couldn't refer to `Self` or type parameters, due to inaccuracies in lexical scoping.

I've also allowed "embedded expressions" (`[T; expr]`,  `[x; expr]`, `typeof expr`) to refer to type parameters in scope. *However*, the typesystem still doesn't handle rust-lang#34344.
Fully resolving that issue requires breaking cycles more aggressively (e.g. lazy evaluation), *even* in when the expression doesn't depend on type parameters, to type-check it at all, and then also type-level "constant projections" (in the vein of `{expr}` from const generics).
…loat, r=petrochenkov

Disallow ._ in float literal.

This patch makes lexer stop parsing number literals before `._`, as well as before `.a`. Underscore itself is still allowed like in `4_000_000.000_000_`.

Fixes a half part of rust-lang#41723. The other is `""_`.
…wsxcv

Fix anchor invalid redirection to search

Fixes rust-lang#41933.

r? @rust-lang/docs
…-cmake-config, r=alexcrichton

Pass static crt to llvm cmake configuration

Solves rust-lang#40246
…hton

LLVM: Add support for EABI-compliant libcalls on MSP430.

This change will allow rust code to have proper support for division
and multiplication using libgcc.

r? @alexcrichton
cc @awygle
@rust-highfive
Copy link
Collaborator

Some changes occurred in HTML/CSS.

cc @GuillaumeGomez

@rust-highfive
Copy link
Collaborator

r? @brson

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

@Mark-Simulacrum
Copy link
Member Author

@bors r+ p=10

@bors
Copy link
Contributor

bors commented May 14, 2017

📌 Commit 7294ce1 has been approved by Mark-Simulacrum

@bors
Copy link
Contributor

bors commented May 14, 2017

⌛ Testing commit 7294ce1 with merge 94497b7...

bors added a commit that referenced this pull request May 14, 2017
Rollup of 7 pull requests

- Successful merges: #41612, #41826, #41939, #41946, #41950, #41975, #41979
- Failed merges:
@bors
Copy link
Contributor

bors commented May 14, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: Mark-Simulacrum
Pushing 94497b7 to master...

@bors bors merged commit 7294ce1 into rust-lang:master May 14, 2017
@Mark-Simulacrum Mark-Simulacrum deleted the rollup branch May 14, 2017 06:02
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 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.