-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 18 pull requests #58763
Rollup of 18 pull requests #58763
Commits on Feb 19, 2019
-
improve unused doc comment diagnostic reporting
Report all unused attributes on a given doc comment instead of just the first one, and extend the span of sugared doc comments to encompass the whole comment.
Configuration menu - View commit details
-
Copy full SHA for d339468 - Browse repository at this point
Copy the full SHA d339468View commit details -
expand unused doc comment diagnostic
Report the diagnostic on macro expansions, and add a label indicating why the comment is unused.
Configuration menu - View commit details
-
Copy full SHA for b5fadf0 - Browse repository at this point
Copy the full SHA b5fadf0View commit details
Commits on Feb 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 890ef48 - Browse repository at this point
Copy the full SHA 890ef48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 906ec8a - Browse repository at this point
Copy the full SHA 906ec8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1536852 - Browse repository at this point
Copy the full SHA 1536852View commit details
Commits on Feb 24, 2019
-
Fix style issues and update diagnostic messages Update src/librustc_passes/diagnostics.rs Co-Authored-By: doctorn <me@nathancorbyn.com> Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition Deny nested `async fn` in Rust 2015 edition
Configuration menu - View commit details
-
Copy full SHA for 8300f51 - Browse repository at this point
Copy the full SHA 8300f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d4f96 - Browse repository at this point
Copy the full SHA b7d4f96View commit details
Commits on Feb 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f1b88ab - Browse repository at this point
Copy the full SHA f1b88abView commit details
Commits on Feb 26, 2019
-
Jethro Beekman committed
Feb 26, 2019 Configuration menu - View commit details
-
Copy full SHA for 6c44bbb - Browse repository at this point
Copy the full SHA 6c44bbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for eddd07c - Browse repository at this point
Copy the full SHA eddd07cView commit details -
Disable running several Stdio doctests
* A number of `Stdio` related doc examples include running the "rev" command to illustrate piping commands. The majority of these tests are marked as `no_run` except for two tests which were not * Not running these tests is unlikely to cause any negative impact, and doing so also allows the test suite to pass in environments where the "rev" command is unavailable
Configuration menu - View commit details
-
Copy full SHA for abd88a9 - Browse repository at this point
Copy the full SHA abd88a9View commit details -
Marcel Hellwig committed
Feb 26, 2019 Configuration menu - View commit details
-
Copy full SHA for 5b97516 - Browse repository at this point
Copy the full SHA 5b97516View commit details -
Configuration menu - View commit details
-
Copy full SHA for 992694a - Browse repository at this point
Copy the full SHA 992694aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b23fd43 - Browse repository at this point
Copy the full SHA b23fd43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56fb287 - Browse repository at this point
Copy the full SHA 56fb287View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d62619 - Browse repository at this point
Copy the full SHA 2d62619View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4839d8c - Browse repository at this point
Copy the full SHA 4839d8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6375efc - Browse repository at this point
Copy the full SHA 6375efcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 278cb91 - Browse repository at this point
Copy the full SHA 278cb91View commit details -
Configuration menu - View commit details
-
Copy full SHA for baea3c7 - Browse repository at this point
Copy the full SHA baea3c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5f3830 - Browse repository at this point
Copy the full SHA c5f3830View commit details -
Clarify
rotate_{left,right}
docsI wondered what the `<<!` operator is although the exclamation mark was only the end of the sentence.
Configuration menu - View commit details
-
Copy full SHA for 998896c - Browse repository at this point
Copy the full SHA 998896cView commit details -
Normalize the type Self resolves to in an impl
This is required at the very least in order to evaluate associated constants for arrays (see rust-lang#58212).
Angelos Oikonomopoulos committedFeb 26, 2019 Configuration menu - View commit details
-
Copy full SHA for 9b4055b - Browse repository at this point
Copy the full SHA 9b4055bView commit details -
Changing error message to reflect changes with the 2018 edition
Signed-off-by: Adonis <adonis.settouf@gmail.com> Update src/libsyntax/ext/tt/quoted.rs Co-Authored-By: asettouf <adonis.settouf@gmail.com> Update src/libsyntax/ext/tt/quoted.rs Co-Authored-By: asettouf <adonis.settouf@gmail.com> Update src/libsyntax/ext/tt/quoted.rs Co-Authored-By: asettouf <adonis.settouf@gmail.com> Update src/libsyntax/ext/tt/quoted.rs Co-Authored-By: asettouf <adonis.settouf@gmail.com> Update src/libsyntax/ext/tt/quoted.rs Co-Authored-By: asettouf <adonis.settouf@gmail.com> Update src/libsyntax/ext/tt/quoted.rs Co-Authored-By: asettouf <adonis.settouf@gmail.com> Update src/test/ui/macros/macro-at-most-once-rep-2015-ques-rep.stderr Co-Authored-By: asettouf <adonis.settouf@gmail.com> Update src/test/ui/macros/macro-at-most-once-rep-2015-ques-rep.stderr Co-Authored-By: asettouf <adonis.settouf@gmail.com> Stabilize split_ascii_whitespace Tracking issue FCP to merge: rust-lang#48656 (comment) fix stabilization order of uniform_paths. hir: add HirId to main Hir nodes Fix `std::os::fortanix_sgx::usercalls::raw::UsercallNrs` Fixes fortanix/rust-sgx#88 Update src/libsyntax/ext/tt/quoted.rs Co-Authored-By: asettouf <adonis.settouf@gmail.com> Revert "Merge remote-tracking branch 'upstream/master'" This reverts commit 751f05bd155e2c55d4177fe8211df634faf3a644, reversing changes made to 545a3e62b0cb473108869a61b271bc589afb49da.
Configuration menu - View commit details
-
Copy full SHA for c1f3d15 - Browse repository at this point
Copy the full SHA c1f3d15View commit details -
Mention
unwind(aborts)
in diagnostics for#[unwind]
Simplify input validation for `#[unwind]`, add tests
Configuration menu - View commit details
-
Copy full SHA for 5d8fd8b - Browse repository at this point
Copy the full SHA 5d8fd8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fd716d - Browse repository at this point
Copy the full SHA 6fd716dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26e5fc3 - Browse repository at this point
Copy the full SHA 26e5fc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6448a4 - Browse repository at this point
Copy the full SHA d6448a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for eef9612 - Browse repository at this point
Copy the full SHA eef9612View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad6940d - Browse repository at this point
Copy the full SHA ad6940dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e5f780 - Browse repository at this point
Copy the full SHA 4e5f780View commit details -
Configuration menu - View commit details
-
Copy full SHA for d76a632 - Browse repository at this point
Copy the full SHA d76a632View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2f320 - Browse repository at this point
Copy the full SHA 0b2f320View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41d4ec6 - Browse repository at this point
Copy the full SHA 41d4ec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for caa0799 - Browse repository at this point
Copy the full SHA caa0799View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16f276b - Browse repository at this point
Copy the full SHA 16f276bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79c2788 - Browse repository at this point
Copy the full SHA 79c2788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ab5747 - Browse repository at this point
Copy the full SHA 5ab5747View commit details
Commits on Feb 27, 2019
-
Rollup merge of rust-lang#57882 - euclio:unused-doc-attributes, r=est…
…ebank overhaul unused doc comments lint This PR contains a number of improvements to the `unused_doc_comments` lint. - Extends the span to cover the entire comment when using sugared doc comments. - Triggers the lint for all unused doc comments on a node, instead of just the first one. - Triggers the lint on macro expansions, and provides a help note explaining that doc comments must be expanded by the macro. - Adds a label pointing at the node that cannot be documented. Furthermore, this PR fixes any instances in rustc where a macro expansion was erroneously documented.
Configuration menu - View commit details
-
Copy full SHA for 03ab58d - Browse repository at this point
Copy the full SHA 03ab58dView commit details -
Rollup merge of rust-lang#58075 - asettouf:master, r=varkor
Fix for issue rust-lang#58050 Hi, a quick PR to mention in the compiler error message that `?` is a macro operator, as according to issue rust-lang#58050 It passed `python x.py test src/tools/tidy` locally, as well as the recommendation to run `/x.py test src/test/ui --stage 1 --bless`. Let me know if anything else is needed.
Configuration menu - View commit details
-
Copy full SHA for 5418e2a - Browse repository at this point
Copy the full SHA 5418e2aView commit details -
Rollup merge of rust-lang#58627 - euclio:rustdoc-pass-order, r=QuietM…
…isdreavus rustdoc: move collapse and unindent docs passes earlier Moves these passes as early as possible so later passes will see the same markdown that is passed to the test collector. Fixes rust-lang#58473, and a similar issue with the private-doc-tests lint. r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for bcc7ec1 - Browse repository at this point
Copy the full SHA bcc7ec1View commit details -
Rollup merge of rust-lang#58629 - euclio:debug-empty-str, r=alexcrichton
rust-lldb: fix crash when printing empty string Fixes rust-lang#52185. ~Re-enables the pretty-std debuginfo test and tweaks the test as necessary to get it to pass again. This reveals that lldb's formatting of enums is broken (rust-lang#58492). I also removed the emoji from the test because I couldn't get the docker image's gdb to print the emoji, just octal escapes (https://github.com/rust-lang/rust/pull/53154/files#r208263904).~
Configuration menu - View commit details
-
Copy full SHA for eac298a - Browse repository at this point
Copy the full SHA eac298aView commit details -
Rollup merge of rust-lang#58630 - nnethercote:fix-fold_clobber, r=pet…
…rochenkov Make `visit_clobber` panic-safe. Local measurements indicate the performance effect is negligible. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 34baa82 - Browse repository at this point
Copy the full SHA 34baa82View commit details -
Rollup merge of rust-lang#58678 - doctorn:refuse-async-fn-2015-editio…
…n, r=varkor Deny `async fn` in 2015 edition This commit prevents code using `async fn` from being compiled in Rust 2015 edition. Compiling code of the form: ```rust async fn foo() {} ``` Will now result in the error: ``` error[E0670]: `async fn` is not permitted in the 2015 edition --> async.rs:1:1 | 1 | async fn foo() {} | ^^^^^ error: aborting due to error For more information about an error, try `rustc --explain E0670`. ``` This resolves rust-lang#58652 and also resolves rust-lang#53714. r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 9c44efd - Browse repository at this point
Copy the full SHA 9c44efdView commit details -
Rollup merge of rust-lang#58680 - varkor:xpy-help-index-error, r=alex…
…crichton Fix an indexing error when using `x.py help` Fixes rust-lang#58640.
Configuration menu - View commit details
-
Copy full SHA for 08e2d0d - Browse repository at this point
Copy the full SHA 08e2d0dView commit details -
Rollup merge of rust-lang#58703 - shepmaster:read_line_return, r=centril
Fix copy-pasted typo for read_string return value
Configuration menu - View commit details
-
Copy full SHA for 11552e4 - Browse repository at this point
Copy the full SHA 11552e4View commit details -
Rollup merge of rust-lang#58743 - varkor:bulk-needstest-1, r=alexcric…
…hton Add tests for several E-needstest issues This PR adds a number of tests for various `E-needstest` errors. These tend to have been left open for a long time and seem unlikely to be closed otherwise. Closes rust-lang#10876. Closes rust-lang#22892. Closes rust-lang#26448. Closes rust-lang#26577. Closes rust-lang#26619. Closes rust-lang#27054. Closes rust-lang#28587. Closes rust-lang#44127. Closes rust-lang#44255. Closes rust-lang#55731. Closes rust-lang#57781.
Configuration menu - View commit details
-
Copy full SHA for b6e34a0 - Browse repository at this point
Copy the full SHA b6e34a0View commit details -
Rollup merge of rust-lang#58744 - jethrogb:jb/dlmalloc-0.1.3, r=alexc…
…richton Update dlmalloc to 0.1.3 r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 372742b - Browse repository at this point
Copy the full SHA 372742bView commit details -
Rollup merge of rust-lang#58746 - ipetkov:std-process-docs, r=cramertj
std: docs: Disable running several Stdio doctests * A number of `Stdio` related doc examples include running the "rev" command to illustrate piping commands. The majority of these tests are marked as `no_run` except for two tests which were not * Not running these tests is unlikely to cause any negative impact, and doing so also allows the test suite to pass in environments where the "rev" command is unavailable
Configuration menu - View commit details
-
Copy full SHA for 86f8f81 - Browse repository at this point
Copy the full SHA 86f8f81View commit details -
Rollup merge of rust-lang#58748 - hellow554:scoped_tls, r=estebank
update scoped_tls to 1.0 scoped_tls has been updated to version 1.0 This PR will hopefully merge flawlessly :) This fixes, among others, alexcrichton/scoped-tls#9 Note, that the nightly feature has been removed in alexcrichton/scoped-tls@64bd7b8
Configuration menu - View commit details
-
Copy full SHA for 0ac99f0 - Browse repository at this point
Copy the full SHA 0ac99f0View commit details -
Rollup merge of rust-lang#58749 - kenta7777:reduce-repetition, r=oli-obk
Reduce Repetitions of (n << amt) >> amt Fixes part of [rust-lang#49937](rust-lang#49937).
Configuration menu - View commit details
-
Copy full SHA for bd2dab8 - Browse repository at this point
Copy the full SHA bd2dab8View commit details -
Rollup merge of rust-lang#58750 - TimDiekmann:master, r=oli-obk
Make `Unique::as_ptr`, `NonNull::dangling` and `NonNull::cast` const
Configuration menu - View commit details
-
Copy full SHA for 4253413 - Browse repository at this point
Copy the full SHA 4253413View commit details -
Rollup merge of rust-lang#58752 - taiki-e:update-string_cache_codegen…
…, r=alexcrichton Update string_cache_codegen to 0.4.2 This removes two dependencies of the old version (string_cache is already the latest version).
Configuration menu - View commit details
-
Copy full SHA for a96150c - Browse repository at this point
Copy the full SHA a96150cView commit details -
Rollup merge of rust-lang#58755 - tbu-:pr_doc_clarifyrotate, r=Centril
Clarify `rotate_{left,right}` docs I wondered what the `<<!` operator is although the exclamation mark was only the end of the sentence.
Configuration menu - View commit details
-
Copy full SHA for 5dacb01 - Browse repository at this point
Copy the full SHA 5dacb01View commit details -
Rollup merge of rust-lang#58757 - aoikonomopoulos:issue-58212, r=oli-obk
Normalize the type Self resolves to in an impl This is required at the very least in order to evaluate associated constants for arrays. Fixes rust-lang#57796 Fixes rust-lang#58212. r? @oli-obk cc @hellow554
Configuration menu - View commit details
-
Copy full SHA for 6743257 - Browse repository at this point
Copy the full SHA 6743257View commit details -
Rollup merge of rust-lang#58762 - petrochenkov:unwind, r=Mark-Simulacrum
Mention `unwind(aborts)` in diagnostics for `#[unwind]` Simplify input validation for `#[unwind]`, add tests cc rust-lang#58760 r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for ae28eec - Browse repository at this point
Copy the full SHA ae28eecView commit details