-
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 #68893
Rollup of 9 pull requests #68893
Commits on Feb 4, 2020
-
use def_path_str for missing_debug_impls message
The lint message will now use the full, correct path to the `Debug` trait, even in `no_std`.
Configuration menu - View commit details
-
Copy full SHA for c0a110f - Browse repository at this point
Copy the full SHA c0a110fView commit details
Commits on Feb 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c0b7b41 - Browse repository at this point
Copy the full SHA c0b7b41View commit details -
parser: merge
fn
grammars wrt. bodies & headersalso refactor `FnKind` and `visit_assoc_item` visitors
Configuration menu - View commit details
-
Copy full SHA for b2c6eeb - Browse repository at this point
Copy the full SHA b2c6eebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fc4b95 - Browse repository at this point
Copy the full SHA 4fc4b95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67c29ed - Browse repository at this point
Copy the full SHA 67c29edView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce6cd67 - Browse repository at this point
Copy the full SHA ce6cd67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ac68e1 - Browse repository at this point
Copy the full SHA 9ac68e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a4eac3 - Browse repository at this point
Copy the full SHA 9a4eac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c182461 - Browse repository at this point
Copy the full SHA c182461View commit details
Commits on Feb 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6ad725e - Browse repository at this point
Copy the full SHA 6ad725eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8cf950 - Browse repository at this point
Copy the full SHA d8cf950View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf26933 - Browse repository at this point
Copy the full SHA bf26933View commit details -
Rollup merge of rust-lang#68691 - nnethercote:rm-RefCell-from-Obligat…
…ionForest, r=nikomatsakis Remove `RefCell` usage from `ObligationForest`. It's not needed. This doesn't affect performance, it just simplifies the code a little. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for a1478b7 - Browse repository at this point
Copy the full SHA a1478b7View commit details -
Rollup merge of rust-lang#68751 - Tyg13:unused_parens_const_static, r…
…=Centril Implement `unused_parens` for `const` and `static` items Fixes rust-lang#67942
Configuration menu - View commit details
-
Copy full SHA for bf13861 - Browse repository at this point
Copy the full SHA bf13861View commit details -
Rollup merge of rust-lang#68788 - Centril:unified-fn-bodies, r=petroc…
…henkov Towards unified `fn` grammar Part of rust-lang#68728. - Syntactically, `fn` items in `extern { ... }` blocks can now have bodies (`fn foo() { ... }` as opposed to `fn foo();`). As above, we use semantic restrictions instead. - Syntactically, `fn` items in free contexts (directly in a file or a module) can now be without bodies (`fn foo();` as opposed to `fn foo() { ... }`. As above, we use semantic restrictions instead, including for non-ident parameter patterns. - We move towards unifying the `fn` front matter; this is fully realized in rust-lang#68728. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 424304a - Browse repository at this point
Copy the full SHA 424304aView commit details -
Rollup merge of rust-lang#68837 - jonas-schievink:assoc-item-lookup-2…
…, r=estebank Make associated item collection a query Before this change, every time associated items were iterated over (which rustc does *a lot* – this can probably be further optimized), there would be N+1 queries to fetch all assoc. items. Now there's just one after they've been computed once.
Configuration menu - View commit details
-
Copy full SHA for f6bfdf4 - Browse repository at this point
Copy the full SHA f6bfdf4View commit details -
Rollup merge of rust-lang#68842 - Centril:issue-68785, r=estebank
or_patterns: add regression test for rust-lang#68785 Fixes rust-lang#68785. (Fixed by rust-lang#67668.) cc rust-lang#54883 r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 226a8e2 - Browse repository at this point
Copy the full SHA 226a8e2View commit details -
Rollup merge of rust-lang#68844 - euclio:debug-impl-def-path, r=petro…
…chenkov use def_path_str for missing_debug_impls message The lint message will now use the full, correct path to the `Debug` trait, even in `no_std`.
Configuration menu - View commit details
-
Copy full SHA for 16e4e8f - Browse repository at this point
Copy the full SHA 16e4e8fView commit details -
Rollup merge of rust-lang#68845 - dwrensha:fix-68783, r=estebank
stop using BytePos for computing spans in librustc_parse/parser/mod.rs Computing spans using logic such as `self.token.span.lo() + BytePos(1)` can cause internal compiler errors like rust-lang#68730 when non-ascii characters are given as input. rust-lang#68735 partially addressed this problem, but only for one case. Moreover, its usage of `next_point()` does not actually align with what `bump_with()` expects. For example, given the token `>>=`, we should pass the span consisting of the final two characters `>=`, but `next_point()` advances the span beyond the end of the `=`. This pull request instead computes the start of the new span by doing `start_point(self.token.span).hi()`. This matches `self.token.span.lo() + BytePos(1)` in the common case where the characters are ascii, and it gracefully handles multibyte characters. Fixes rust-lang#68783.
Configuration menu - View commit details
-
Copy full SHA for ec24833 - Browse repository at this point
Copy the full SHA ec24833View commit details -
Rollup merge of rust-lang#68869 - GuillaumeGomez:err-explanation-e027…
…1, r=Dylan-DPC clean up E0271 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 2210d3f - Browse repository at this point
Copy the full SHA 2210d3fView commit details -
Rollup merge of rust-lang#68880 - JohnTitor:issue-non-zero, r=Dylan-DPC
Forbid using `0` as issue number Fixes rust-lang#67496 r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 1ad674a - Browse repository at this point
Copy the full SHA 1ad674aView commit details