-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #88584
Rollup of 9 pull requests #88584
Commits on Aug 27, 2021
-
Path remapping: Make behavior of diagnostics output dependent on pres…
…ence of --remap-path-prefix.
Configuration menu - View commit details
-
Copy full SHA for af1b65c - Browse repository at this point
Copy the full SHA af1b65cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8436fe1 - Browse repository at this point
Copy the full SHA 8436fe1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c296c89 - Browse repository at this point
Copy the full SHA c296c89View commit details -
Point at unclosed delimiters as part of the primary MultiSpan
Both the place where the parser encounters a needed closed delimiter and the unclosed opening delimiter are important, so they should get the same level of highlighting in the output.
Configuration menu - View commit details
-
Copy full SHA for c6d800d - Browse repository at this point
Copy the full SHA c6d800dView commit details
Commits on Aug 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d7da82a - Browse repository at this point
Copy the full SHA d7da82aView commit details
Commits on Aug 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b99038f - Browse repository at this point
Copy the full SHA b99038fView commit details
Commits on Aug 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 99a3d64 - Browse repository at this point
Copy the full SHA 99a3d64View commit details -
add safety annotation to
LinkedList::detach_all_nodes
Co-authored-by: kennytm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ffc43b8 - Browse repository at this point
Copy the full SHA ffc43b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7189c85 - Browse repository at this point
Copy the full SHA 7189c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d18052 - Browse repository at this point
Copy the full SHA 7d18052View commit details
Commits on Sep 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 59b245e - Browse repository at this point
Copy the full SHA 59b245eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c9e708 - Browse repository at this point
Copy the full SHA 6c9e708View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f489b - Browse repository at this point
Copy the full SHA f5f489bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5fd955 - Browse repository at this point
Copy the full SHA a5fd955View commit details
Commits on Sep 2, 2021
-
Rollup merge of rust-lang#88363 - michaelwoerister:remapped-diagnosti…
…cs, r=estebank Path remapping: Make behavior of diagnostics output dependent on presence of --remap-path-prefix. This PR fixes a regression (rust-lang#87745) with `--remap-path-prefix` where the flag stopped causing diagnostic messages to be remapped as well. The regression was introduced in rust-lang#83813 where we erroneously assumed that remapping of diagnostic messages was not desired anymore (because rust-lang#70642 partially undid that functionality with nobody objecting). The issue is fixed by making `--remap-path-prefix` remap diagnostic messages again, including for paths that have been remapped in upstream crates (e.g. the standard library). This means that "sysroot-localization" (implemented in rust-lang#70642) is also disabled if `rustc` is invoked with `--remap-path-prefix`. The assumption is that once someone starts explicitly remapping paths they also don't want paths to their local Rust installation in their build output. In the future we might want to give more fine-grained control over this behavior via compiler flags (see rust-lang/rfcs#3127 for a related RFC). For now this PR is intended as a regression fix. This PR is an alternative to rust-lang#88191, which makes diagnostic messages be remapped unconditionally. That approach, however, would effectively revert rust-lang#70642. Fixes rust-lang#87745. cc ``@cbeuw`` r? ``@ghost``
Configuration menu - View commit details
-
Copy full SHA for d9047db - Browse repository at this point
Copy the full SHA d9047dbView commit details -
Rollup merge of rust-lang#88386 - estebank:unmatched-delims, r=jackh726
Point at unclosed delimiters as part of the primary MultiSpan Both the place where the parser encounters a needed closed delimiter and the unclosed opening delimiter are important, so they should get the same level of highlighting in the output. _Context: https://twitter.com/mwk4/status/1430631546432675840_
Configuration menu - View commit details
-
Copy full SHA for 2693e12 - Browse repository at this point
Copy the full SHA 2693e12View commit details -
Rollup merge of rust-lang#88428 - petrochenkov:stmtid, r=Aaron1011
expand: Treat more macro calls as statement macro calls This PR implements the suggestion from rust-lang#87981 (comment) and treats fn-like macro calls inside `StmtKind::Item` and `StmtKind::Semi` as statement macro calls, which is consistent with treatment of attribute invocations in the same positions and with token-based macro expansion model in general. This also allows to remove a special case in `NodeId` assignment (previously tried in rust-lang#87779), and to use statement `NodeId`s for linting (`assign_id!`). r? `@Aaron1011`
Configuration menu - View commit details
-
Copy full SHA for 2f22cad - Browse repository at this point
Copy the full SHA 2f22cadView commit details -
Rollup merge of rust-lang#88505 - ibraheemdev:use-unwrap-unchecked, r…
…=kennytm Use `unwrap_unchecked` where possible
Configuration menu - View commit details
-
Copy full SHA for c892775 - Browse repository at this point
Copy the full SHA c892775View commit details -
Rollup merge of rust-lang#88532 - ptrojahn:single_use, r=davidtwco
Remove single use variables
Configuration menu - View commit details
-
Copy full SHA for 1d1e931 - Browse repository at this point
Copy the full SHA 1d1e931View commit details -
Rollup merge of rust-lang#88543 - m-ou-se:closure-migration-macro-blo…
…ck-fragment, r=estebank Improve closure dummy capture suggestion in macros. Fixes some cases of rust-lang#88440 Fixes https://crater-reports.s3.amazonaws.com/pr-87190-3/try%23a7a572ce3edd6d476191fbfe92c9c1986e009b34/reg/rcodec-1.0.1/log.txt
Configuration menu - View commit details
-
Copy full SHA for b341e56 - Browse repository at this point
Copy the full SHA b341e56View commit details -
Rollup merge of rust-lang#88547 - notriddle:notriddle/is-expr-delims-…
…necessary, r=davidtwco fix(rustc_lint): better detect when parens are necessary Fixes rust-lang#88519
Configuration menu - View commit details
-
Copy full SHA for 60eb925 - Browse repository at this point
Copy the full SHA 60eb925View commit details -
Rollup merge of rust-lang#88560 - klensy:formatter-pad-shrink, r=m-ou-se
`fmt::Formatter::pad`: don't call chars().count() more than one time First commit merges two branches of match to call chars().count() only once: that should be faster if this method hits place of 3rd (previous) branch, plus quarter shorter. Second commit fixes some clippy lints while i'm here (should it be separate PR?).
Configuration menu - View commit details
-
Copy full SHA for a90fff6 - Browse repository at this point
Copy the full SHA a90fff6View commit details -
Rollup merge of rust-lang#88565 - lqd:issue-83190, r=spastorino
Add regression test for issue 83190 Reduced from `bioyino-metric` by ```@hellow554``` and myself. Closes rust-lang#83190. r? ```@spastorino```
Configuration menu - View commit details
-
Copy full SHA for 7e3855b - Browse repository at this point
Copy the full SHA 7e3855bView commit details