-
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 7 pull requests #78974
Rollup of 7 pull requests #78974
Commits on Nov 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8b20e9b - Browse repository at this point
Copy the full SHA 8b20e9bView commit details
Commits on Nov 8, 2020
-
Consider mutable ident binding patterns to be simple
This should fix `rustdoc` rendering of by-value mutable arguments in `async fn` contexts.
Configuration menu - View commit details
-
Copy full SHA for 1216432 - Browse repository at this point
Copy the full SHA 1216432View commit details -
Don't reuse bindings for
ref mut
Reusing bindings causes errors later in lowering: ``` error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable --> /checkout/src/test/ui/async-await/argument-patterns.rs:12:20 | LL | async fn b(n: u32, ref mut vec: A) { | ^^^^^^^^^^^ | | | cannot borrow as mutable | help: consider changing this to be mutable: `mut vec` ```
Configuration menu - View commit details
-
Copy full SHA for 26b11d6 - Browse repository at this point
Copy the full SHA 26b11d6View commit details
Commits on Nov 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d76cdb0 - Browse repository at this point
Copy the full SHA d76cdb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 359031e - Browse repository at this point
Copy the full SHA 359031eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd78188 - Browse repository at this point
Copy the full SHA dd78188View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8310e2 - Browse repository at this point
Copy the full SHA a8310e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19a3fe6 - Browse repository at this point
Copy the full SHA 19a3fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a30b28e - Browse repository at this point
Copy the full SHA a30b28eView commit details -
Configuration menu - View commit details
-
Copy full SHA for de1ebbb - Browse repository at this point
Copy the full SHA de1ebbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b5cd04 - Browse repository at this point
Copy the full SHA 4b5cd04View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4790ec - Browse repository at this point
Copy the full SHA f4790ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96793d3 - Browse repository at this point
Copy the full SHA 96793d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46c921d - Browse repository at this point
Copy the full SHA 46c921dView commit details -
Don't print thread ids and names in
tracing
logsBefore: ``` 2:rustc INFO rustc_interface::passes Pre-codegen 2:rustcTy interner total ty lt ct all 2:rustc Adt : 1078 81.3%, 0.0% 0.0% 0.0% 0.0% 2:rustc Array : 1 0.1%, 0.0% 0.0% 0.0% 0.0% 2:rustc Slice : 1 0.1%, 0.0% 0.0% 0.0% 0.0% 2:rustc RawPtr : 2 0.2%, 0.0% 0.0% 0.0% 0.0% 2:rustc Ref : 4 0.3%, 0.1% 0.1% 0.0% 0.0% 2:rustc FnDef : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc FnPtr : 76 5.7%, 0.0% 0.0% 0.0% 0.0% 2:rustc Placeholder : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Generator : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc GeneratorWitness : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Dynamic : 3 0.2%, 0.0% 0.0% 0.0% 0.0% 2:rustc Closure : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Tuple : 13 1.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Bound : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Param : 146 11.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Infer : 2 0.2%, 0.1% 0.0% 0.0% 0.0% 2:rustc Projection : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Opaque : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Foreign : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc total 1326 0.2% 0.1% 0.0% 0.0% 2:rustcInternalSubsts interner: rust-lang#437 2:rustcRegion interner: rust-lang#355 2:rustcStability interner: #1 2:rustcConst Stability interner: #0 2:rustcAllocation interner: #0 2:rustcLayout interner: #0 ``` After: ``` INFO rustc_interface::passes Post-codegen Ty interner total ty lt ct all Adt : 1078 81.3%, 0.0% 0.0% 0.0% 0.0% Array : 1 0.1%, 0.0% 0.0% 0.0% 0.0% Slice : 1 0.1%, 0.0% 0.0% 0.0% 0.0% RawPtr : 2 0.2%, 0.0% 0.0% 0.0% 0.0% Ref : 4 0.3%, 0.1% 0.1% 0.0% 0.0% FnDef : 0 0.0%, 0.0% 0.0% 0.0% 0.0% FnPtr : 76 5.7%, 0.0% 0.0% 0.0% 0.0% Placeholder : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Generator : 0 0.0%, 0.0% 0.0% 0.0% 0.0% GeneratorWitness : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Dynamic : 3 0.2%, 0.0% 0.0% 0.0% 0.0% Closure : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Tuple : 13 1.0%, 0.0% 0.0% 0.0% 0.0% Bound : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Param : 146 11.0%, 0.0% 0.0% 0.0% 0.0% Infer : 2 0.2%, 0.1% 0.0% 0.0% 0.0% Projection : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Opaque : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Foreign : 0 0.0%, 0.0% 0.0% 0.0% 0.0% total 1326 0.2% 0.1% 0.0% 0.0% InternalSubsts interner: rust-lang#437 Region interner: rust-lang#355 Stability interner: #1 Const Stability interner: #0 Allocation interner: #0 Layout interner: #0 ```
Configuration menu - View commit details
-
Copy full SHA for 9cf8a49 - Browse repository at this point
Copy the full SHA 9cf8a49View commit details
Commits on Nov 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6e9ed8b - Browse repository at this point
Copy the full SHA 6e9ed8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d9f815 - Browse repository at this point
Copy the full SHA 7d9f815View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9eacf3 - Browse repository at this point
Copy the full SHA a9eacf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad7f330 - Browse repository at this point
Copy the full SHA ad7f330View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d3f9d0 - Browse repository at this point
Copy the full SHA 1d3f9d0View commit details
Commits on Nov 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a8bc954 - Browse repository at this point
Copy the full SHA a8bc954View commit details -
Rollup merge of rust-lang#76730 - ebkalderon:rustdoc-fix-mut-args-asy…
…nc-fn, r=tmandry Fix rustdoc rendering of by-value mutable arguments in async fn r? `@jyn514` Fixes rust-lang#76517.
Configuration menu - View commit details
-
Copy full SHA for 25fd89a - Browse repository at this point
Copy the full SHA 25fd89aView commit details -
Rollup merge of rust-lang#78773 - GuillaumeGomez:theme-picker-shortcu…
…t, r=jyn514 Add shortcut for theme picker menu Follow-up of rust-lang#78584 Just like you can focus the search input by pressing "S", you can now access the theme picker menu by pressing "T" and navigate through the options only using the keyboard. cc `@notriddle` r? `@jyn514`
Configuration menu - View commit details
-
Copy full SHA for 7305584 - Browse repository at this point
Copy the full SHA 7305584View commit details -
Rollup merge of rust-lang#78916 - lcnr:const-generics-tests, r=varkor
extend const generics test suite should implement most of rust-lang#78433, especially all parts of [the hackmd](https://hackmd.io/WnFmN4MjRCqAjGmYfYcu2A?view) which I did not explicitly mention in that issue. r? `@varkor`
Configuration menu - View commit details
-
Copy full SHA for b31c678 - Browse repository at this point
Copy the full SHA b31c678View commit details -
Rollup merge of rust-lang#78921 - GuillaumeGomez:search-result-title,…
… r=jyn514 Improve the page title switch handling between search and doc The current behavior often "forgets" to update the page title when discarding/putting back the search results. This isn't optimal which is why I wrote this fix. r? `@jyn514`
Configuration menu - View commit details
-
Copy full SHA for 7b25abf - Browse repository at this point
Copy the full SHA 7b25abfView commit details -
Rollup merge of rust-lang#78933 - jyn514:tracing-output, r=oli-obk
Don't print thread ids and names in `tracing` logs Before: ``` 2:rustc INFO rustc_interface::passes Pre-codegen 2:rustcTy interner total ty lt ct all 2:rustc Adt : 1078 81.3%, 0.0% 0.0% 0.0% 0.0% 2:rustc Array : 1 0.1%, 0.0% 0.0% 0.0% 0.0% 2:rustc Slice : 1 0.1%, 0.0% 0.0% 0.0% 0.0% 2:rustc RawPtr : 2 0.2%, 0.0% 0.0% 0.0% 0.0% 2:rustc Ref : 4 0.3%, 0.1% 0.1% 0.0% 0.0% 2:rustc FnDef : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc FnPtr : 76 5.7%, 0.0% 0.0% 0.0% 0.0% 2:rustc Placeholder : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Generator : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc GeneratorWitness : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Dynamic : 3 0.2%, 0.0% 0.0% 0.0% 0.0% 2:rustc Closure : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Tuple : 13 1.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Bound : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Param : 146 11.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Infer : 2 0.2%, 0.1% 0.0% 0.0% 0.0% 2:rustc Projection : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Opaque : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc Foreign : 0 0.0%, 0.0% 0.0% 0.0% 0.0% 2:rustc total 1326 0.2% 0.1% 0.0% 0.0% 2:rustcInternalSubsts interner: rust-lang#437 2:rustcRegion interner: rust-lang#355 2:rustcStability interner: #1 2:rustcConst Stability interner: #0 2:rustcAllocation interner: #0 2:rustcLayout interner: #0 ``` After: ``` INFO rustc_interface::passes Post-codegen Ty interner total ty lt ct all Adt : 1078 81.3%, 0.0% 0.0% 0.0% 0.0% Array : 1 0.1%, 0.0% 0.0% 0.0% 0.0% Slice : 1 0.1%, 0.0% 0.0% 0.0% 0.0% RawPtr : 2 0.2%, 0.0% 0.0% 0.0% 0.0% Ref : 4 0.3%, 0.1% 0.1% 0.0% 0.0% FnDef : 0 0.0%, 0.0% 0.0% 0.0% 0.0% FnPtr : 76 5.7%, 0.0% 0.0% 0.0% 0.0% Placeholder : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Generator : 0 0.0%, 0.0% 0.0% 0.0% 0.0% GeneratorWitness : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Dynamic : 3 0.2%, 0.0% 0.0% 0.0% 0.0% Closure : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Tuple : 13 1.0%, 0.0% 0.0% 0.0% 0.0% Bound : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Param : 146 11.0%, 0.0% 0.0% 0.0% 0.0% Infer : 2 0.2%, 0.1% 0.0% 0.0% 0.0% Projection : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Opaque : 0 0.0%, 0.0% 0.0% 0.0% 0.0% Foreign : 0 0.0%, 0.0% 0.0% 0.0% 0.0% total 1326 0.2% 0.1% 0.0% 0.0% InternalSubsts interner: rust-lang#437 Region interner: rust-lang#355 Stability interner: #1 Const Stability interner: #0 Allocation interner: #0 Layout interner: #0 ``` Closes rust-lang#78931 r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 9e28eb9 - Browse repository at this point
Copy the full SHA 9e28eb9View commit details -
Rollup merge of rust-lang#78960 - ethanboxx:const-gen-test-default-er…
…ror, r=lcnr Test default values for const parameters. The last topic on rust-lang#78433 I originally intended to place these tests in a single file, however, due to them being parser errors that are fatal, they must be in separate files to be detected. Thanks, `@lcnr` for mentoring me on this PR. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 4ada95f - Browse repository at this point
Copy the full SHA 4ada95fView commit details -
Rollup merge of rust-lang#78971 - ehuss:update-books, r=ehuss
Update books ## nomicon 8 commits in 69333eddb1de92fd17e272ce4677cc983d3bd71d..23c49f1d5ce4720bc5b7e3a920f47eccc8da6b63 2020-10-17 15:44:12 -0700 to 2020-11-05 13:30:53 +0900 - (rust-lang/nomicon#238) - Some tweaks (rust-lang/nomicon#244) - (rust-lang/nomicon#245) - Update atomics.md (rust-lang/nomicon#224) - Update send-and-sync.md (rust-lang/nomicon#187) - fix a typo (rust-lang/nomicon#231) - Improve formatting of "Transmutes" chapter (rust-lang/nomicon#242) - Merge pull request rust-lang/nomicon#241 from simon-lammes/patch-1 ## reference 4 commits in 10c16caebe475d0d11bec0531b95d7697856c13c..a7de763c213292f5b44bf10acb87ffa38724814d 2020-10-25 20:51:26 -0700 to 2020-11-11 19:13:21 -0800 - Referencify tuples (rust-lang/reference#899) - Mention Box's partial field moves (rust-lang/reference#837) - Enable triagebot (rust-lang/reference#862) - Update deprecated GitHub Actions commands. (rust-lang/reference#896) ## rust-by-example 1 commits in 99eafee0cb14e6ec641bf02a69d7b30f6058349a..1886fda6981b723e4de637074455558f8bc1e83c 2020-10-21 14:21:55 -0300 to 2020-10-28 13:46:54 -0500 - Remove incorrect "lambda" terminology ## edition-guide 1 commits in 7bc9b7a5e800f79df62947cb7d566fd2fbaf19fe..b91a9a881ee007c12e74e844460ec407cf07a50f 2020-10-23 18:31:23 -0500 to 2020-11-02 11:02:03 -0600 - Clarify slice patterns example (rust-lang/edition-guide#223)
Configuration menu - View commit details
-
Copy full SHA for 4d0f068 - Browse repository at this point
Copy the full SHA 4d0f068View commit details