-
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 11 pull requests #80364
Rollup of 11 pull requests #80364
Commits on Dec 13, 2020
-
Refactored verbose print into a function
Also handle Tuple and Array separately, which was not explicitly checked. Fixes rust-lang#79799.
Configuration menu - View commit details
-
Copy full SHA for b66eb69 - Browse repository at this point
Copy the full SHA b66eb69View commit details
Commits on Dec 21, 2020
-
Implemented a compiler diagnostic for move async mistake
Ran the tidy check Following the diagnostic guide better Diagnostic generation is now relegated to its own function in the diagnostics module. Added tests Fixed the ui test
Configuration menu - View commit details
-
Copy full SHA for a272d62 - Browse repository at this point
Copy the full SHA a272d62View commit details -
Rename rustc_middle::lint::LintSource
Rename rustc_middle::lint::LintSource to rustc_middle::lint::LintLevelSource.
Configuration menu - View commit details
-
Copy full SHA for aec3575 - Browse repository at this point
Copy the full SHA aec3575View commit details -
Document rustc_middle::lint::LevelSource
This is to clarify the difference between `LevelSource` and `LintLevelSource`. Appease x.py fmt.
Configuration menu - View commit details
-
Copy full SHA for d3900d3 - Browse repository at this point
Copy the full SHA d3900d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2281cc - Browse repository at this point
Copy the full SHA c2281ccView commit details
Commits on Dec 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 163f5da - Browse repository at this point
Copy the full SHA 163f5daView commit details
Commits on Dec 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 530c33c - Browse repository at this point
Copy the full SHA 530c33cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c625d31 - Browse repository at this point
Copy the full SHA c625d31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8739708 - Browse repository at this point
Copy the full SHA 8739708View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceb66ad - Browse repository at this point
Copy the full SHA ceb66adView commit details -
Configuration menu - View commit details
-
Copy full SHA for f459b0f - Browse repository at this point
Copy the full SHA f459b0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecba49c - Browse repository at this point
Copy the full SHA ecba49cView commit details -
Don't unnecessarily override attrs for Module
They were never changed from the default, which you can get with `tcx.get_attrs()`.
Configuration menu - View commit details
-
Copy full SHA for 6dc4f7a - Browse repository at this point
Copy the full SHA 6dc4f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for df94bfc - Browse repository at this point
Copy the full SHA df94bfcView commit details
Commits on Dec 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9e618ba - Browse repository at this point
Copy the full SHA 9e618baView commit details
Commits on Dec 25, 2020
-
Rollup merge of rust-lang#79213 - yoshuawuyts:stabilize-slice-fill, r…
…=m-ou-se Stabilize `core::slice::fill` Tracking issue rust-lang#70758 Stabilizes the `core::slice::fill` API in Rust 1.50, adding a `memset` doc alias so people coming from C/C++ looking for this operation can find it in the docs. This API hasn't seen any changes since we changed the signature in rust-lang#71165, and it seems like the right time to propose stabilization. Thanks! r? `@m-ou-se`
Configuration menu - View commit details
-
Copy full SHA for 21d36e0 - Browse repository at this point
Copy the full SHA 21d36e0View commit details -
Rollup merge of rust-lang#79999 - hencrice:yenlinc/79799, r=oli-obk
Refactored verbose print into a function Also handle Tuple and Array separately, which was not explicitly checked. Fixes rust-lang#79799.
Configuration menu - View commit details
-
Copy full SHA for 787b016 - Browse repository at this point
Copy the full SHA 787b016View commit details -
Rollup merge of rust-lang#80160 - diondokter:move_async_fix, r=davidtwco
Implemented a compiler diagnostic for move async mistake Fixes rust-lang#79694 First time contributing, so I hope I'm doing everything right. (If not, please correct me!) This code performs a check when a move capture clause is parsed. The check is to detect if the user has reversed the async move keywords and to provide a diagnostic with a suggestion to fix it. Checked code: ```rust fn main() { move async { }; } ``` Previous output: ```txt PS C:\Repos\move_async_test> cargo build Compiling move_async_test v0.1.0 (C:\Repos\move_async_test) error: expected one of `|` or `||`, found keyword `async` --> src\main.rs:2:10 | 2 | move async { }; | ^^^^^ expected one of `|` or `||` error: aborting due to previous error error: could not compile `move_async_test` ``` New output: ```txt PS C:\Repos\move_async_test> cargo +dev build Compiling move_async_test v0.1.0 (C:\Repos\move_async_test) error: the order of `move` and `async` is incorrect --> src\main.rs:2:13 | 2 | let _ = move async { }; | ^^^^^^^^^^ | help: try switching the order | 2 | let _ = async move { }; | ^^^^^^^^^^ error: aborting due to previous error error: could not compile `move_async_test` ``` Is there a file/module where these kind of things are tested? Would love some feedback 😄
Configuration menu - View commit details
-
Copy full SHA for 299c2fc - Browse repository at this point
Copy the full SHA 299c2fcView commit details -
Rollup merge of rust-lang#80274 - pierwill:lintlevelsource, r=petroch…
…enkov Rename rustc_middle::lint::LintSource Rename [`rustc_middle::lint::LintSource`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/lint/enum.LintSource.html) to `rustc_middle::lint::LintLevelSource`. This enum represents the source of a *lint level*, not a lint. This should improve code readability. Update: Also documents `rustc_middle::lint::LevelSource` to clarify.
Configuration menu - View commit details
-
Copy full SHA for b295b8e - Browse repository at this point
Copy the full SHA b295b8eView commit details -
Rollup merge of rust-lang#80280 - pierwill:x-readme, r=Mark-Simulacrum
Add installation commands to `x` tool README
Configuration menu - View commit details
-
Copy full SHA for c24fcad - Browse repository at this point
Copy the full SHA c24fcadView commit details -
Rollup merge of rust-lang#80319 - jyn514:async-lifetimes, r=tmandry
Fix elided lifetimes shown as `'_` on async functions Closes rust-lang#63037. r? `@tmandry` on the implementation, `@Darksonn` on the test cases.
Configuration menu - View commit details
-
Copy full SHA for d837407 - Browse repository at this point
Copy the full SHA d837407View commit details -
Rollup merge of rust-lang#80327 - PankajChaudhary5:PankajChaudhary, r…
…=GuillaumeGomez Updated the match with the matches macro r?````@GuillaumeGomez````
Configuration menu - View commit details
-
Copy full SHA for 2dab627 - Browse repository at this point
Copy the full SHA 2dab627View commit details -
Rollup merge of rust-lang#80330 - eltociear:patch-2, r=lcnr
Fix typo in simplify_try.rs assigment -> assignment
Configuration menu - View commit details
-
Copy full SHA for 704f81e - Browse repository at this point
Copy the full SHA 704f81eView commit details -
Rollup merge of rust-lang#80340 - jyn514:less-modules-attrs, r=Guilla…
…umeGomez Don't unnecessarily override attrs for Module They were never changed from the default, which you can get with `tcx.get_attrs()`.
Configuration menu - View commit details
-
Copy full SHA for 28267e3 - Browse repository at this point
Copy the full SHA 28267e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cf289b - Browse repository at this point
Copy the full SHA 3cf289bView commit details -
Rollup merge of rust-lang#80352 - ssomers:btree_test_diagnostics, r=M…
…ark-Simulacrum BTreeMap: make test cases more explicit on failure r? `@Mark-Simulacrum`
Configuration menu - View commit details
-
Copy full SHA for 7c7812d - Browse repository at this point
Copy the full SHA 7c7812dView commit details