-
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 6 pull requests #66982
Rollup of 6 pull requests #66982
Commits on Nov 25, 2019
-
add
enclosing_scope
param torustc_on_unimplmented
add ui test compute enclosing_scope_span on demand add scope test make tidy happy stylistic and typo fixes
Configuration menu - View commit details
-
Copy full SHA for 45aadf7 - Browse repository at this point
Copy the full SHA 45aadf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d0c015 - Browse repository at this point
Copy the full SHA 1d0c015View commit details
Commits on Nov 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a329756 - Browse repository at this point
Copy the full SHA a329756View commit details
Commits on Nov 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 71abce1 - Browse repository at this point
Copy the full SHA 71abce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b67d6c7 - Browse repository at this point
Copy the full SHA b67d6c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44f3bee - Browse repository at this point
Copy the full SHA 44f3beeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5a4c62 - Browse repository at this point
Copy the full SHA d5a4c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for c69be48 - Browse repository at this point
Copy the full SHA c69be48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c3befc - Browse repository at this point
Copy the full SHA 7c3befcView commit details
Commits on Dec 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ac57e1b - Browse repository at this point
Copy the full SHA ac57e1bView commit details
Commits on Dec 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e638f7c - Browse repository at this point
Copy the full SHA e638f7cView commit details -
Don't build the same matrix twice
The exact same logic was used in check_arms and check_match to build the matrix of relevant patterns. It would actually probably have been a bug if it was not the case, since exhaustiveness checking should be the same as checking reachability of an additional `_ => ...` match branch.
Configuration menu - View commit details
-
Copy full SHA for fe67196 - Browse repository at this point
Copy the full SHA fe67196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21af89d - Browse repository at this point
Copy the full SHA 21af89dView commit details -
Simplify lifetimes by allocating patterns on the arena
We want the lifetimes of the patterns contained in the matrix and the candidate `PatStack` to be the same so that they can be mixed together. A lot of this would not be necessary if `SmallVec` was covariant in its type argument (see servo/rust-smallvec#146).
Configuration menu - View commit details
-
Copy full SHA for e6aa962 - Browse repository at this point
Copy the full SHA e6aa962View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00ccadf - Browse repository at this point
Copy the full SHA 00ccadfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c7bd52 - Browse repository at this point
Copy the full SHA 5c7bd52View commit details -
Configuration menu - View commit details
-
Copy full SHA for a476af2 - Browse repository at this point
Copy the full SHA a476af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef087d9 - Browse repository at this point
Copy the full SHA ef087d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c1bec2 - Browse repository at this point
Copy the full SHA 1c1bec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a81804b - Browse repository at this point
Copy the full SHA a81804bView commit details -
syntax: Remove redundant span from
ast::Mac
Also remove a couple of redundant `visit_mac` asserts
Configuration menu - View commit details
-
Copy full SHA for 0fac567 - Browse repository at this point
Copy the full SHA 0fac567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a496f3 - Browse repository at this point
Copy the full SHA 1a496f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5378955 - Browse repository at this point
Copy the full SHA 5378955View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf71538 - Browse repository at this point
Copy the full SHA cf71538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 498737c - Browse repository at this point
Copy the full SHA 498737cView commit details
Commits on Dec 3, 2019
-
Rollup merge of rust-lang#66148 - oli-obk:it_must_be_a_sign, r=RalfJung
Show the sign for signed ops on `exact_div` r? @RalfJung Cc https://github.com/rust-lang/miri/pull/961/files#r341842128 I'm fairly unhappy with the duplication and the general effort required for this. Maybe it would be better to add a `display` impl for `ImmTy`?
Configuration menu - View commit details
-
Copy full SHA for 3045d22 - Browse repository at this point
Copy the full SHA 3045d22View commit details -
Rollup merge of rust-lang#66651 - Areredify:on-unimplemented-scope, r…
…=davidtwco Add `enclosing scope` parameter to `rustc_on_unimplemented` Adds a new parameter to `#[rustc_on_unimplemented]`, `enclosing scope`, which highlights the function or closure scope with a message. The wip part refers to adding this annotation to `Try` trait to improve ergonomics (which I don't know how to do since I change both std and librustc) Closes rust-lang#61709.
Configuration menu - View commit details
-
Copy full SHA for 8dacfc2 - Browse repository at this point
Copy the full SHA 8dacfc2View commit details -
Rollup merge of rust-lang#66904 - DevinR528:keyword-doc, r=Dylan-DPC
Adding docs for keyword match, move Partial fix of issue rust-lang#34601.
Configuration menu - View commit details
-
Copy full SHA for 01345d6 - Browse repository at this point
Copy the full SHA 01345d6View commit details -
Rollup merge of rust-lang#66935 - petrochenkov:attrtok2, r=Centril
syntax: Unify macro and attribute arguments in AST The unified form (`ast::MacArgs`) represents parsed arguments instead of an unstructured token stream that was previously used for attributes. It also tracks some spans and delimiter kinds better for fn-like macros and macro definitions. I've been talking about implementing this with @nnethercote in rust-lang#65750 (comment). The parsed representation is closer to `MetaItem` and requires less token juggling during conversions, so it potentially may be faster. r? @Centril
Configuration menu - View commit details
-
Copy full SHA for cf937fa - Browse repository at this point
Copy the full SHA cf937faView commit details -
Rollup merge of rust-lang#66941 - CAD97:nord, r=Dylan-DPC
Remove `ord` lang item At this point it seems to be unused, and just `partial_ord` is used instead. This removes the unused lang item.
Configuration menu - View commit details
-
Copy full SHA for 1303bf2 - Browse repository at this point
Copy the full SHA 1303bf2View commit details -
Rollup merge of rust-lang#66967 - Nadrieril:remove-or-pat-hack, r=varkor
Remove hack for top-level or-patterns in match checking Follow-up to rust-lang#66612. Or-patterns are now truly first-class in match checking. As a side-effect, redundant subpatterns are linted as such, making the `unreachable_patterns` lint a bit more general. cc rust-lang#54883 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for bce7798 - Browse repository at this point
Copy the full SHA bce7798View commit details