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 #59868
Rollup of 10 pull requests #59868
Commits on Apr 3, 2019
-
Add documentation on the -Z flag on the command-line arguments sectio…
…n in the rustc book.
Christian committedApr 3, 2019
Commits on Apr 5, 2019
-
It is now exactly equivalent to lookup_char_pos.
Commits on Apr 7, 2019
-
Uplift
get_def_path
from ClippyThis uplifts `get_def_path` from Clippy. This is a follow up on the implementation of internal lints: rust-lang#59316 The internal lint implementation also copied the implementation of the `AbsolutePathPrinter`. To get rid of this code duplication this also uplifts the `get_def_path` function from Clippy. This also renames `match_path` to `match_def_path`, as it was originally named in Clippy.
Commits on Apr 8, 2019
-
compiletest: Improve no_prefer_dynamic docs
This adds some extra docs for the `no-prefer-dynamic` header. And also a `s/must_compile_successfully/compile_pass`. `must_compile_successfully` has been renamed to `compile_pass` at some point in the past and this comment was still referring to the old name.
Commits on Apr 9, 2019
-
-
-
- Make links relative. - Adjust links from old 2018-edition book. - Fix broken link in `let` docs.
-
Commits on Apr 10, 2019
-
-
std::ops::Div examples: correct nominator to numerator
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
-
-
Updated the documentation, now claiming the -Z is associated to unsta…
…ble compiler flags, instead of flags for debugging.
Christian committedApr 10, 2019 -
Updated the description of -Z in the rustc book.
Christian committedApr 10, 2019
Commits on Apr 11, 2019
-
Rollup merge of rust-lang#59680 - DevQps:document-rustc-z-flag, r=cra…
…mertj Document the -Z flag to the rustc book # Description Changes: - Added new documentation on the `-Z` flag of rustc in the command-line arguments section of the rustc book. If I need to rephrase anything or if you have any improvements, please let me know! I deliberately did not create an exhaustive list of all options since they are likely to change over time and per toolchain version. closes rust-lang#41142
-
Rollup merge of rust-lang#59735 - matklad:deadcode, r=sanxiyn
remove lookup_char_pos_adj It is now exactly equivalent to lookup_char_pos.
-
Rollup merge of rust-lang#59779 - flip1995:uplift_get_def_path, r=Man…
…ishearth Uplift `get_def_path` from Clippy cc rust-lang/rust-clippy#3926 cc rust-lang#59738 This uplifts `get_def_path` from Clippy. This is a follow up on the implementation of internal lints: rust-lang#59316 The internal lint implementation also copied the implementation of the `AbsolutePathPrinter`. To get rid of this code duplication this also uplifts the `get_def_path` function from Clippy. This also renames `match_path` to `match_def_path`, as it was originally named in Clippy. r? @Manishearth
-
Rollup merge of rust-lang#59806 - phansch:compiletest_docs2, r=oli-obk
compiletest: Improve no_prefer_dynamic docs This adds some extra docs for the `no-prefer-dynamic` header. And also a `s/must_compile_successfully/compile_pass`. `must_compile_successfully` has been renamed to `compile_pass` at some point in the past and this comment was still referring to the old name.
-
Rollup merge of rust-lang#59811 - vext01:dead-dominator-code, r=oli-obk
Kill dead code dominator code. Hi, Whilst fiddling around in the dominator code, I found some (I think) unused code. This code *was* used at the time it was imported, but over time it seems to have become redundant. I've tested a build up to stage 1 with no problems. Maybe the tests will turn up something though. P.S. There is a FIXME comment in `dominators/mod.rs`: ``` pub fn is_dominated_by(&self, node: Node, dom: Node) -> bool { // FIXME -- could be optimized by using post-order-rank self.dominators(node).any(|n| n == dom) } ``` I'm not sure of the intention of this comment. The `Dominators` struct already operates over post-order rank nodes. Any ideas?
-
Rollup merge of rust-lang#59814 - ollie27:dead_boxed_links, r=QuietMi…
…sdreavus Fix broken links on std::boxed doc page r? @QuietMisdreavus
-
Rollup merge of rust-lang#59830 - ehuss:keyword-links, r=Mark-Simulacrum
Fix links on keyword docs. - Make links relative. - Adjust links from old 2018-edition book. - Fix broken link in `let` docs.
-
Rollup merge of rust-lang#59831 - ehuss:ordering-docs, r=kennytm
Remove strange formatting in `Ordering` docs. I can't really fathom what the intent of the brackets is. The [original PR](rust-lang#12956) doesn't give any hints. I think it seems fine without them.
-
Rollup merge of rust-lang#59835 - lzutao:nonzero-signed, r=Mark-Simul…
…acrum Re-export NonZero signed variant in std cc rust-lang#59834
-
Rollup merge of rust-lang#59836 - andersk:nominator, r=Centril
std::ops::Div examples: correct nominator to numerator