-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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 9 pull requests #64115
Rollup of 9 pull requests #64115
Commits on Aug 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5a446c1 - Browse repository at this point
Copy the full SHA 5a446c1View commit details
Commits on Sep 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cab607e - Browse repository at this point
Copy the full SHA cab607eView commit details -
Configuration menu - View commit details
-
Copy full SHA for aae2b24 - Browse repository at this point
Copy the full SHA aae2b24View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9ce33c - Browse repository at this point
Copy the full SHA a9ce33cView commit details -
librustc_errors: Extract sugg/subst handling into method
An initial refactoring before working on rust-lang#61809. This moves the whole block into a method so that it can be reused in the annotate-snippet output. It's already used in the new emitter, but there's no UI tests with suggestions included in this PR. A first look at some UI tests with suggestions showed that there's some more work to do in [annotate-snippet-rs][annotate-snippet-rs] before the new output is closer to the current one.
Configuration menu - View commit details
-
Copy full SHA for 84ccbe2 - Browse repository at this point
Copy the full SHA 84ccbe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35c9e5f - Browse repository at this point
Copy the full SHA 35c9e5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a6aada - Browse repository at this point
Copy the full SHA 3a6aadaView commit details -
Guanqun Lu committed
Sep 1, 2019 Configuration menu - View commit details
-
Copy full SHA for ab12dfe - Browse repository at this point
Copy the full SHA ab12dfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a0872b - Browse repository at this point
Copy the full SHA 4a0872bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f53c217 - Browse repository at this point
Copy the full SHA f53c217View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e9825a - Browse repository at this point
Copy the full SHA 8e9825aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 141f5a7 - Browse repository at this point
Copy the full SHA 141f5a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd9c16 - Browse repository at this point
Copy the full SHA 0cd9c16View commit details -
Configuration menu - View commit details
-
Copy full SHA for a937d8c - Browse repository at this point
Copy the full SHA a937d8cView commit details
Commits on Sep 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 991f436 - Browse repository at this point
Copy the full SHA 991f436View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52c68d1 - Browse repository at this point
Copy the full SHA 52c68d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c83d64 - Browse repository at this point
Copy the full SHA 3c83d64View commit details -
Create buffers in top-level rendering
This avoids needlessly creating and threading the buffers through when we only use them once.
Configuration menu - View commit details
-
Copy full SHA for a076816 - Browse repository at this point
Copy the full SHA a076816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8850cb5 - Browse repository at this point
Copy the full SHA 8850cb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3539f9 - Browse repository at this point
Copy the full SHA a3539f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d869748 - Browse repository at this point
Copy the full SHA d869748View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14fcaa1 - Browse repository at this point
Copy the full SHA 14fcaa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca2801f - Browse repository at this point
Copy the full SHA ca2801fView commit details -
Implement Print for FnOnce(&mut Buffer)
This means that callers can pass in a closure like `|buf| some_function(..., &mut buf)` and pass in arbitrary arguments to that function without complicating the trait definition. We also keep the impl for str and String, since it's useful to be able to just pass in "" or format!("{}"...) results in some cases. This changes Print's definition to take self, instead of &self, because otherwise FnOnce cannot be called directly. We could instead take FnMut or even Fn, but that seems like it'd merely complicate matters -- most of the time, the FnOnce does not constrain us at all anyway. If it does, a custom Print impl for &'_ SomeStruct is not all that painful.
Configuration menu - View commit details
-
Copy full SHA for 2367975 - Browse repository at this point
Copy the full SHA 2367975View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c06e79 - Browse repository at this point
Copy the full SHA 8c06e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab9b32 - Browse repository at this point
Copy the full SHA 6ab9b32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6165313 - Browse repository at this point
Copy the full SHA 6165313View commit details -
Configuration menu - View commit details
-
Copy full SHA for a57f00d - Browse repository at this point
Copy the full SHA a57f00dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd92ed2 - Browse repository at this point
Copy the full SHA cd92ed2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2eb65b - Browse repository at this point
Copy the full SHA b2eb65bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31391ca - Browse repository at this point
Copy the full SHA 31391caView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9c6ef6 - Browse repository at this point
Copy the full SHA a9c6ef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd323f8 - Browse repository at this point
Copy the full SHA dd323f8View commit details
Commits on Sep 3, 2019
-
Rollup merge of rust-lang#63774 - chocol4te:fix_63707, r=GuillaumeGomez
Fix `window.hashchange is not a function` Closes rust-lang#63707.
Configuration menu - View commit details
-
Copy full SHA for cdc821f - Browse repository at this point
Copy the full SHA cdc821fView commit details -
Rollup merge of rust-lang#64044 - Mark-Simulacrum:rustdoc-clean-2, r=…
…GuillaumeGomez Rustdoc: formatting to buffers This should be reviewed commit-by-commit. I've not attempted to fully flesh out what the end state of this PR could look like yet as I wanted to get it up for some early feedback (I already think this has some wins, too, so we could land it as-is). The primary idea with `Buffer` is that it internally tracks whether we're printing to HTML or text, and the goal is that eventually instead of branch on `fmt.alternate()` anywhere, we'd call a helper like `buf.nbsp()` which would either return ` ` or ` ` depending on the target we're printing to. Obviously, that's not included in this PR, in part because it was already getting quite big.
Configuration menu - View commit details
-
Copy full SHA for 85baeec - Browse repository at this point
Copy the full SHA 85baeecView commit details -
Rollup merge of rust-lang#64049 - estebank:if-else-type-err, r=Centril
Emit a single error on if expr with expectation and no else clause Fix rust-lang#60254. r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 781f533 - Browse repository at this point
Copy the full SHA 781f533View commit details -
Rollup merge of rust-lang#64056 - estebank:arbitrary-self-types, r=Ce…
…ntril Account for arbitrary self types in E0599 Fix rust-lang#62373
Configuration menu - View commit details
-
Copy full SHA for 43eac83 - Browse repository at this point
Copy the full SHA 43eac83View commit details -
Rollup merge of rust-lang#64058 - phansch:refactor_out_method, r=este…
…bank librustc_errors: Extract sugg/subst handling into method An initial refactoring before working on rust-lang#61809. This moves the whole block into a method so that it can be reused in the annotate-snippet emitter. The method is already used in the new emitter, but there's no UI tests with suggestions included in this PR. A first look at some UI tests with suggestions showed that there's some more work to do in [annotate-snippet-rs][annotate-snippet-rs] before the new output is closer to the current one, so I opted to do that in a second step. r? @estebank [annotate-snippet-rs]: https://github.com/rust-lang/annotate-snippets-rs
Configuration menu - View commit details
-
Copy full SHA for dd8d419 - Browse repository at this point
Copy the full SHA dd8d419View commit details -
Rollup merge of rust-lang#64063 - JohnTitor:fix-const-err, r=oli-obk
Fix const_err with `-(-0.0)` Fixes rust-lang#64059 r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for c1832a6 - Browse repository at this point
Copy the full SHA c1832a6View commit details -
Rollup merge of rust-lang#64071 - guanqun:style-fix, r=Centril
use just one name when parameters and fields are the same
Configuration menu - View commit details
-
Copy full SHA for ed13e27 - Browse repository at this point
Copy the full SHA ed13e27View commit details -
Rollup merge of rust-lang#64096 - GuillaumeGomez:theme-regex-fix, r=M…
…ark-Simulacrum Fix regex replacement in theme detection Fixes rust-lang#64061. This is sadly a lot of bad luck: after making the changes and re-build the docs, I just forgot to force reload the page. Hence having the old (working) version with two replacements instead of the failing regex. Sorry again about that... cc @fenhl r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 3e427d9 - Browse repository at this point
Copy the full SHA 3e427d9View commit details -
Rollup merge of rust-lang#64104 - Mark-Simulacrum:intrinsic-fn-ptr-ic…
…e, r=estebank Emit error on intrinsic to fn ptr casts I'm not sure if a type error is the best way of doing this but it seemed like a relatively correct place to do it, and I expect this is a pretty rare case to hit anyway. Fixes rust-lang#15694
Configuration menu - View commit details
-
Copy full SHA for 0de3668 - Browse repository at this point
Copy the full SHA 0de3668View commit details