- 01 5月, 2019 8 次提交
- 30 4月, 2019 32 次提交
-
-
由 bors 提交于
Rollup of 7 pull requests Successful merges: - #60344 (Don't try to render auto-trait bounds with any inference variables) - #60354 (Cleanup declare_features! for 'accepted' with a uniform style + sort them) - #60362 (Cleanup 'active' declare_features! with uniform style + sorting.) - #60382 (Revert "Update Source Code Pro fonts to version 2.030") - #60399 (Update clippy) - #60400 (Remove functions to simplify handling of feature(bind_by_move_pattern_guards)) - #60408 (Add missing f16c_target_feature check to typeck collect) Failed merges: r? @ghost
-
由 Mazdak Farrokhzad 提交于
Add missing f16c_target_feature check to typeck collect
-
由 Mazdak Farrokhzad 提交于
Remove functions to simplify handling of feature(bind_by_move_pattern_guards) Fixes #59192 r? @matthewjasper
-
由 Mazdak Farrokhzad 提交于
Update clippy None
-
由 Mazdak Farrokhzad 提交于
Revert "Update Source Code Pro fonts to version 2.030" Temporary fix for https://github.com/rust-lang/rust/issues/60365 https://github.com/rust-lang/rust/pull/60146 updated all fonts (not just the fonts that were buggy), however it looks like the new Source Code Pro is buggy. We should test this out of tree: `cargo doc` on anything, replace the font in `target/doc`, and use `python -m SimpleHTTPServer` to see what's going on. Till we figure that out, I'll just back this out. r? @GuillaumeGomez This reverts commit 6bafc58c.
-
由 Mazdak Farrokhzad 提交于
Cleanup 'active' declare_features! with uniform style + sorting. r? @oli-obk (added the FIXME you wanted) cc https://github.com/rust-lang/rust/pull/60354 cc https://github.com/rust-lang/rust/issues/60361
-
由 Mazdak Farrokhzad 提交于
Cleanup declare_features! for 'accepted' with a uniform style + sort them r? @oli-obk cc https://github.com/rust-lang/rust/pull/60362 cc https://github.com/rust-lang/rust/issues/60361
-
由 Mazdak Farrokhzad 提交于
Don't try to render auto-trait bounds with any inference variables Previously, we checked if the target of a projection type was itself an inference variable. However, for Rustdoc rendering purposes, there's no distinction between an inference variable ('_') and a type containing one (e.g. (MyStruct<u8, _>)) - we don't want to render either of them. Fixes #60269 Due to the complexity of the original bug, which spans three different crates (hyper, tower-hyper, and tower), I have been unable to create a minimized reproduction for the issue.
-
由 bors 提交于
Suggest `try_into` when possible CC #47168
-
由 gnzlbg 提交于
-
由 Yuki OKUSHI 提交于
-
由 Manish Goregaokar 提交于
-
由 Mazdak Farrokhzad 提交于
Fix line number display in source view Fixes #60310. r? rust-lang/rustdoc cc @Manishearth screenshot of the fix: <img width="798" alt="Screenshot 2019-04-29 at 23 12 20" src="https://user-images.githubusercontent.com/3050060/56927541-b7286680-6ad4-11e9-9215-42dc4ef42691.png">
-
由 Mazdak Farrokhzad 提交于
Cleanup the MIR visitor * Remove useless `BasicBlock` parameters on methods with `Location`s. * Prefer `visit_terminator_kind` to `visit_terminator`. * Remove `Region` from PlaceContexts. `visit_rvalue` should be used when the region is important. * Remove unused visitor methods.
-
由 Mazdak Farrokhzad 提交于
Update rustfmt to 1.2.2
-
由 Mazdak Farrokhzad 提交于
SGX target: implemented vectored I/O r? @sfackler Includes #59857
-
由 Mazdak Farrokhzad 提交于
-
由 Esteban Küber 提交于
-
由 Jethro Beekman 提交于
-
由 Jethro Beekman 提交于
-
由 bors 提交于
In JSON output, emit a directive after metadata is generated. To implement pipelining, Cargo needs to know when metadata generation is finished. This is done via a new JSON "directive". Unfortunately, metadata file writing currently occurs very late during compilation, so pipelining won't produce a speed-up. Moving metadata file writing earlier will be a follow-up. r? @alexcrichton
-
由 Nicholas Nethercote 提交于
To implement pipelining, Cargo needs to know when metadata generation is finished. This commit adds code to do that. Unfortunately, metadata file writing currently occurs very late during compilation, so pipelining won't produce a speed-up. Moving metadata file writing earlier will be a follow-up. The change involves splitting the existing `Emitter::emit` method in two: `Emitter::emit_diagnostic` and `Emitter::emit_directive`. The JSON directives look like this: ``` {"directive":"metadata file written: liba.rmeta"} ``` The functionality is behind the `-Z emit-directives` option, and also requires `--error-format=json`.
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Manish Goregaokar 提交于
This reverts commit 6bafc58c.
-
由 Guillaume Gomez 提交于
-
由 bors 提交于
Rollup of 9 pull requests Successful merges: - #59946 (Fix equivalent string in escape_default docs) - #60256 (Option::flatten) - #60305 (hir: remove LoweredNodeId) - #60334 (Stabilized vectored IO) - #60353 (Add test not to forget resolved ICE) - #60356 (Stabilize str::as_mut_ptr) - #60358 (Clarify the short explanation of E0207) - #60359 (resolve: Consider erroneous imports used to avoid duplicate diagnostics) - #60360 (Add test case for labeled break in const assignment) Failed merges: r? @ghost
-
由 Mazdak Farrokhzad 提交于
Add test case for labeled break in const assignment Fixes #51350.
-
由 Mazdak Farrokhzad 提交于
resolve: Consider erroneous imports used to avoid duplicate diagnostics Supersedes https://github.com/rust-lang/rust/pull/60295 Fixes https://github.com/rust-lang/rust/issues/48244 r? @estebank
-
由 Mazdak Farrokhzad 提交于
Clarify the short explanation of E0207 After being greatly improved in #33692, https://doc.rust-lang.org/error-index.html#E0207 uses terminology from the related RFC, which is different from the [reference](https://doc.rust-lang.org/reference/items/implementations.html), e.g. "self type" instead of "implementing type" and "trait reference" instead of "implemented trait". It probably makes no difference to an experienced reader, but for a newbie like me it added to the confusion as you can't look up the definition of the terms being used and can't be sure you've guessed correctly... I would also move the link to RFC to the top, as it seems to be the only doc that attempts to explain what the third criteria entails), but it seems to go against the accepted style.
-
由 Mazdak Farrokhzad 提交于
Stabilize str::as_mut_ptr Closes #58215
-