-
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 5 pull requests #94859
Rollup of 5 pull requests #94859
Commits on Mar 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 63ed8e4 - Browse repository at this point
Copy the full SHA 63ed8e4View commit details
Commits on Mar 11, 2022
-
Refactor the second half of
parse_tt
.The current structure makes it hard to tell that there are just four distinct code paths, depending on how many items there are in `bb_items` and `next_items`. This commit introduces a `match` that clarifies things.
Configuration menu - View commit details
-
Copy full SHA for 09c3e82 - Browse repository at this point
Copy the full SHA 09c3e82View commit details -
Disallow
TokenTree::{MetaVar,MetaVarExpr}
in matchers.They should only appear in transcribers.
Configuration menu - View commit details
-
Copy full SHA for 4d4baf7 - Browse repository at this point
Copy the full SHA 4d4baf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f0798b - Browse repository at this point
Copy the full SHA 9f0798bView commit details -
Move
eof_items
handling entirely withininner_parse_loop
.Also rename `inner_parse_loop` as `parse_tt_inner`, because it's no longer just a loop.
Configuration menu - View commit details
-
Copy full SHA for c13ca42 - Browse repository at this point
Copy the full SHA c13ca42View commit details -
For consistency, and to make the code slightly nicer.
Configuration menu - View commit details
-
Copy full SHA for 235a87f - Browse repository at this point
Copy the full SHA 235a87fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95d13fa - Browse repository at this point
Copy the full SHA 95d13faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c17217 - Browse repository at this point
Copy the full SHA 4c17217View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdc3177 - Browse repository at this point
Copy the full SHA bdc3177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 813f00d - Browse repository at this point
Copy the full SHA 813f00dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87fba23 - Browse repository at this point
Copy the full SHA 87fba23View commit details -
Configuration menu - View commit details
-
Copy full SHA for aad4227 - Browse repository at this point
Copy the full SHA aad4227View commit details -
Rollup merge of rust-lang#94769 - GuillaumeGomez:collapsed-by-default…
…, r=notriddle Collapse blanket and auto-trait impls by default Blocked on rust-lang#94740 (the two first commits come from it). This behaviour was changed in rust-lang#88490 and apparently wasn't caught since then. You can test it [here](https://rustdoc.crud.net/imperio/collapsed-by-default/test_docs/struct.Foo.html#blanket-implementations). r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for 9f2986b - Browse repository at this point
Copy the full SHA 9f2986bView commit details -
Rollup merge of rust-lang#94798 - nnethercote:parse_tt-refactor, r=pe…
…trochenkov `parse_tt` refactorings Some readability improvements. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 3b30d7d - Browse repository at this point
Copy the full SHA 3b30d7dView commit details -
Rollup merge of rust-lang#94827 - RalfJung:offset-from-ub, r=oli-obk
CTFE/Miri: detect out-of-bounds pointers in offset_from Also I became uneasy with aggressively doing `try_to_int` here -- this will always succeed on Miri, leading to the wrong codepath being taken. We should rather try to convert them both to pointers, and use the integer path as a fallback, so that's what I implemented now. Hiding whitespaces helps with the diff. Fixes rust-lang/miri#1950 r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 8de8975 - Browse repository at this point
Copy the full SHA 8de8975View commit details -
Rollup merge of rust-lang#94838 - antonok-edm:float-parse-docs, r=Dyl…
…an-DPC Make float parsing docs more comprehensive I was working on some code with some specialized restrictions on float parsing. I noticed the doc comments for `f32::from_str` and `f64::from_str` were missing several cases of valid inputs that are otherwise difficult to discover without looking at source code. I'm not sure if the doc comments were initially intended to contain a comprehensive description of valid inputs, but I figured it's useful to include these extra cases for reference.
Configuration menu - View commit details
-
Copy full SHA for fcfbcf0 - Browse repository at this point
Copy the full SHA fcfbcf0View commit details -
Rollup merge of rust-lang#94839 - TaKO8Ki:suggest-using-double-colon-…
…for-struct-field-type, r=cjgillot Suggest using double colon when a struct field type include single colon rust-lang#92685
Configuration menu - View commit details
-
Copy full SHA for 4f50683 - Browse repository at this point
Copy the full SHA 4f50683View commit details