-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 15 pull requests #73455
Rollup of 15 pull requests #73455
Commits on May 20, 2020
-
Implement partial error recovery for
let
withBinOpEq
When parsing `let x: i8 += 1` the compiler interprets `i8` as a trait which makes it more complicated to do error recovery. More advanced error recovery is not implemented in this commit.
Configuration menu - View commit details
-
Copy full SHA for d4fe955 - Browse repository at this point
Copy the full SHA d4fe955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48ff12a - Browse repository at this point
Copy the full SHA 48ff12aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d6531 - Browse repository at this point
Copy the full SHA 05d6531View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ad24ba - Browse repository at this point
Copy the full SHA 6ad24baView commit details
Commits on May 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 98532a3 - Browse repository at this point
Copy the full SHA 98532a3View commit details
Commits on Jun 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1bc4e45 - Browse repository at this point
Copy the full SHA 1bc4e45View commit details
Commits on Jun 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bbb3321 - Browse repository at this point
Copy the full SHA bbb3321View commit details
Commits on Jun 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f0d2e78 - Browse repository at this point
Copy the full SHA f0d2e78View commit details
Commits on Jun 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 724dfba - Browse repository at this point
Copy the full SHA 724dfbaView commit details
Commits on Jun 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d5ea0e9 - Browse repository at this point
Copy the full SHA d5ea0e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a40156e - Browse repository at this point
Copy the full SHA a40156eView commit details
Commits on Jun 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9e51008 - Browse repository at this point
Copy the full SHA 9e51008View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81c9094 - Browse repository at this point
Copy the full SHA 81c9094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e90f17 - Browse repository at this point
Copy the full SHA 4e90f17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 921f35f - Browse repository at this point
Copy the full SHA 921f35fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e755889 - Browse repository at this point
Copy the full SHA e755889View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc15790 - Browse repository at this point
Copy the full SHA bc15790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 539e978 - Browse repository at this point
Copy the full SHA 539e978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31ea589 - Browse repository at this point
Copy the full SHA 31ea589View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d9bf1 - Browse repository at this point
Copy the full SHA 10d9bf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34d8692 - Browse repository at this point
Copy the full SHA 34d8692View commit details -
Configuration menu - View commit details
-
Copy full SHA for e31367d - Browse repository at this point
Copy the full SHA e31367dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7a1f97 - Browse repository at this point
Copy the full SHA f7a1f97View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe1434 - Browse repository at this point
Copy the full SHA bfe1434View commit details -
Update src/librustc_typeck/check/cast.rs
Co-authored-by: lzutao <taolzu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b5809b0 - Browse repository at this point
Copy the full SHA b5809b0View commit details -
Expand "recursive opaque type" diagnostic
Fix rust-lang#70968, partially address rust-lang#66523.
Configuration menu - View commit details
-
Copy full SHA for 96f5584 - Browse repository at this point
Copy the full SHA 96f5584View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f12485 - Browse repository at this point
Copy the full SHA 8f12485View commit details
Commits on Jun 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f3dfe80 - Browse repository at this point
Copy the full SHA f3dfe80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0265e4e - Browse repository at this point
Copy the full SHA 0265e4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fbef22 - Browse repository at this point
Copy the full SHA 5fbef22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 991dfe7 - Browse repository at this point
Copy the full SHA 991dfe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1265e7 - Browse repository at this point
Copy the full SHA d1265e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a19dfb5 - Browse repository at this point
Copy the full SHA a19dfb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bad252c - Browse repository at this point
Copy the full SHA bad252cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1990f97 - Browse repository at this point
Copy the full SHA 1990f97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a9f29d - Browse repository at this point
Copy the full SHA 7a9f29dView commit details
Commits on Jun 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9f2e8ad - Browse repository at this point
Copy the full SHA 9f2e8adView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9dc73d - Browse repository at this point
Copy the full SHA c9dc73dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38e921b - Browse repository at this point
Copy the full SHA 38e921bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a1207f - Browse repository at this point
Copy the full SHA 3a1207fView commit details -
Rollup merge of rust-lang#71338 - estebank:recursive-impl-trait, r=ni…
…komatsakis Expand "recursive opaque type" diagnostic Fix rust-lang#70968, partially address rust-lang#66523.
Configuration menu - View commit details
-
Copy full SHA for c0d3f22 - Browse repository at this point
Copy the full SHA c0d3f22View commit details -
Rollup merge of rust-lang#71420 - RalfJung:specialization-incomplete,…
… r=matthewjasper Specialization is unsound As discussed in rust-lang#31844 (comment), it might be a good idea to warn users of specialization that the feature they are using is unsound. I also expanded the "incomplete feature" warning to link the user to the tracking issue.
Configuration menu - View commit details
-
Copy full SHA for c6b7e04 - Browse repository at this point
Copy the full SHA c6b7e04View commit details -
Rollup merge of rust-lang#71976 - mibac138:let-recovery, r=estebank
Improve diagnostics for `let x += 1` Fixes(?) rust-lang#66736 The code responsible for the `E0404` errors is [here](https://github.com/rust-lang/rust/blob/master/src/librustc_parse/parser/ty.rs#L399-L424) which I don't think can be easily modified to prevent emitting an error in one specific case. Because of this I couldn't get rid of `E0404` and instead added `E0067` along with a help message which will fix the problem. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 7dc7390 - Browse repository at this point
Copy the full SHA 7dc7390View commit details -
Rollup merge of rust-lang#72279 - RalfJung:raw-ref-macros, r=nikomats…
…akis add raw_ref macros In rust-lang#64490, various people were in favor of exposing `&raw` as a macro first before making the actual syntax stable. So this PR (unstably) introduces those macros. I'll create the tracking issue if we're okay moving forward with this.
Configuration menu - View commit details
-
Copy full SHA for 4ffa200 - Browse repository at this point
Copy the full SHA 4ffa200View commit details -
Rollup merge of rust-lang#72331 - oddg:forbid-cast-of-cenum-implement…
…ing-drop, r=matthewjasper,nikomatsakis Report error when casting an C-like enum implementing Drop Following approach described in rust-lang#35941
Configuration menu - View commit details
-
Copy full SHA for 3a29574 - Browse repository at this point
Copy the full SHA 3a29574View commit details -
Rollup merge of rust-lang#72804 - estebank:opaque-missing-lts-in-fn-2…
…, r=nikomatsakis Further tweak lifetime errors involving `dyn Trait` and `impl Trait` in return position * Suggest substituting `'static` lifetime in impl/dyn `Trait + 'static` instead of `Trait + 'static + '_` * When `'static` is explicit, also suggest constraining argument with it * Reduce verbosity of suggestion message and mention lifetime in label * Tweak output for overlapping required/captured spans * Give these errors an error code Follow up to rust-lang#72543. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for d75230e - Browse repository at this point
Copy the full SHA d75230eView commit details -
Rollup merge of rust-lang#72836 - poliorcetics:std-time-os-specificit…
…ies, r=shepmaster Complete the std::time documentation to warn about the inconsistencies between OS Fixes rust-lang#48980. I put the new documentation in `src/libstd/time.rs` at the module-level because it affects all types, even the one that are not directly system dependents if they are used with affected types, but there may be a better place for it.
Configuration menu - View commit details
-
Copy full SHA for c9bad78 - Browse repository at this point
Copy the full SHA c9bad78View commit details -
Rollup merge of rust-lang#72968 - integer32llc:docs-arrow-keys, r=Gui…
…llaumeGomez Only highlight doc search results via mouseover if mouse has moved ## What happens - Go to https://doc.rust-lang.org/stable/std/index.html - Put your mouse cursor somewhere in the middle where search results will appear and then don't move the mouse - Press 's' to focus the search box - Type a query that brings up enough search results to go under where your mouse cursor is - Press the down arrow - The search result that is one below where your mouse cursor is will be highlighted. ## What I expected When not currently using the mouse, I expect doing a search and then pressing the down arrow to always highlight the first search result immediately below the search box. ## The fix This feels a bit hacky to me; I'm open to other solutions. This introduces a global JS var that keeps track of whether the person searching has moved their mouse after doing a search or not, and only uses the mouse position to highlight search results if the person HAS moved the mouse AFTER doing a search.
Configuration menu - View commit details
-
Copy full SHA for 8d5c764 - Browse repository at this point
Copy the full SHA 8d5c764View commit details -
Rollup merge of rust-lang#73142 - ehuss:std-benches, r=dtolnay
Ensure std benchmarks get tested. This ensures that the std benchmarks don't break in the future. Currently they aren't compiled or tested on CI, so they can easily bitrot. Testing a benchmark runs it with one iteration. Adding these should only add a few seconds to CI. Closes rust-lang#54176 Closes rust-lang#61913
Configuration menu - View commit details
-
Copy full SHA for a37e271 - Browse repository at this point
Copy the full SHA a37e271View commit details -
Rollup merge of rust-lang#73214 - androm3da:hex_inline_asm_00, r=Amanieu
Add asm!() support for hexagon
Configuration menu - View commit details
-
Copy full SHA for 53cc5af - Browse repository at this point
Copy the full SHA 53cc5afView commit details -
Rollup merge of rust-lang#73280 - GuillaumeGomez:add-e0763, r=petroch…
…enkov Add E0763
Configuration menu - View commit details
-
Copy full SHA for 9f204c6 - Browse repository at this point
Copy the full SHA 9f204c6View commit details -
Rollup merge of rust-lang#73305 - crlf0710:disallow_loading_monsters,…
… r=petrochenkov Disallow loading crates with non-ascii identifier name. This turns off external crate loading with non-ascii identifier names. cc rust-lang#55467.
Configuration menu - View commit details
-
Copy full SHA for 1b32e50 - Browse repository at this point
Copy the full SHA 1b32e50View commit details -
Rollup merge of rust-lang#73315 - GuillaumeGomez:clean-up-config-strs…
…, r=kinnison Clean up some weird command strings r? @kinnison
Configuration menu - View commit details
-
Copy full SHA for a4c07cd - Browse repository at this point
Copy the full SHA a4c07cdView commit details -
Rollup merge of rust-lang#73428 - pierwill:patch-1, r=jonas-schievink
Fix typo in librustc_ast docs Fixed sentence by removing a word.
Configuration menu - View commit details
-
Copy full SHA for 172e3cd - Browse repository at this point
Copy the full SHA 172e3cdView commit details -
Rollup merge of rust-lang#73446 - ecstatic-morse:issue-73431, r=pnkfelix
Make novel structural match violations not a `bug` Fixes (on master) rust-lang#73431. Ideally, `CustomEq` would emit a strict subset of the structural match errors that are found by `search_for_structural_match_violation`, since it allows more cases due to value-based reasoning. However, const qualification is more conservative than `search_for_structural_match_violation` around associated constants, since qualification does not try to substitute type parameters. In the long term, we should probably make const qualification work for generic associated constants, but I don't like extending its capabilities even further. r? @pnkfelix
Configuration menu - View commit details
-
Copy full SHA for db841ab - Browse repository at this point
Copy the full SHA db841abView commit details