-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #64902
Rollup of 6 pull requests #64902
Commits on Sep 22, 2019
-
Point at definition when misusing ADT
When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
Configuration menu - View commit details
-
Copy full SHA for 2ae9016 - Browse repository at this point
Copy the full SHA 2ae9016View commit details
Commits on Sep 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d8bf4f1 - Browse repository at this point
Copy the full SHA d8bf4f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e58e144 - Browse repository at this point
Copy the full SHA e58e144View commit details
Commits on Sep 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 22b87a5 - Browse repository at this point
Copy the full SHA 22b87a5View commit details
Commits on Sep 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 875fa72 - Browse repository at this point
Copy the full SHA 875fa72View commit details -
Configuration menu - View commit details
-
Copy full SHA for c94fea0 - Browse repository at this point
Copy the full SHA c94fea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cb0039 - Browse repository at this point
Copy the full SHA 5cb0039View commit details -
Point at enclosing match when expecting
()
in armWhen encountering code like the following: ```rust fn main() { match 3 { 4 => 1, 3 => { println!("Yep it maches."); 2 } _ => 2 } println!("Bye!") } ``` point at the enclosing `match` expression and suggest ignoring the returned value: ``` error[E0308]: mismatched types --> $DIR/match-needing-semi.rs:8:13 | LL | / match 3 { LL | | 4 => 1, LL | | 3 => { LL | | 2 | | ^ expected (), found integer LL | | } LL | | _ => 2 LL | | } | | -- help: consider using a semicolon here | |_____| | expected this to be `()` | = note: expected type `()` found type `{integer} ``` Fix rust-lang#40799.
Configuration menu - View commit details
-
Copy full SHA for 8a167ed - Browse repository at this point
Copy the full SHA 8a167edView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae51953 - Browse repository at this point
Copy the full SHA ae51953View commit details -
Configuration menu - View commit details
-
Copy full SHA for c861e24 - Browse repository at this point
Copy the full SHA c861e24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54bad93 - Browse repository at this point
Copy the full SHA 54bad93View commit details
Commits on Sep 29, 2019
-
Fuse parsing of `self` into `parse_param_general`.
Configuration menu - View commit details
-
Copy full SHA for 8fd03b1 - Browse repository at this point
Copy the full SHA 8fd03b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d695e24 - Browse repository at this point
Copy the full SHA d695e24View commit details -
Rollup merge of rust-lang#64691 - estebank:unexpected-variant, r=Centril
Point at definition when misusing ADT When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
Configuration menu - View commit details
-
Copy full SHA for 0a2ddcc - Browse repository at this point
Copy the full SHA 0a2ddccView commit details -
Rollup merge of rust-lang#64735 - GuillaumeGomez:long-err-explanation…
…-E0533, r=Centril Add long error explanation for E0533 Part of rust-lang#61137
Configuration menu - View commit details
-
Copy full SHA for f34e2b1 - Browse repository at this point
Copy the full SHA f34e2b1View commit details -
Rollup merge of rust-lang#64825 - estebank:match-unit, r=Centril
Point at enclosing match when expecting `()` in arm When encountering code like the following: ```rust fn main() { match 3 { 4 => 1, 3 => { println!("Yep it maches."); 2 } _ => 2 } println!("Bye!") } ``` point at the enclosing `match` expression and suggest ignoring the returned value: ``` error[E0308]: mismatched types --> $DIR/match-needing-semi.rs:8:13 | LL | / match 3 { LL | | 4 => 1, LL | | 3 => { LL | | 2 | | ^ expected (), found integer LL | | } LL | | _ => 2 LL | | } | | -- help: consider using a semicolon here | |_____| | expected this to be `()` | = note: expected type `()` found type `{integer} ``` Fix rust-lang#40799.
Configuration menu - View commit details
-
Copy full SHA for 8109332 - Browse repository at this point
Copy the full SHA 8109332View commit details -
Rollup merge of rust-lang#64858 - skinny121:str-const-generics, r=varkor
Add support for relating slices in `super_relate_consts` This allows passing strings as generic arguments. Fixes rust-lang#63773 Fixes rust-lang#60813 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 4ada68e - Browse repository at this point
Copy the full SHA 4ada68eView commit details -
Rollup merge of rust-lang#64894 - Centril:fix-64682, r=petrochenkov
syntax: fix dropping of attribute on first param of non-method assocated fn Fixes rust-lang#64682. The general idea is that we bake parsing of `self` into `parse_param_general` and then we just use standard list parsing. Overall, this simplifies the parsing and makes it more consistent. r? @petrochenkov cc @c410-f3r
Configuration menu - View commit details
-
Copy full SHA for 64afa26 - Browse repository at this point
Copy the full SHA 64afa26View commit details -
Rollup merge of rust-lang#64898 - jakevossen5:master, r=jonas-schievink
fixed typo Accidentally had a typo in rust-lang#64884, sorry!
Configuration menu - View commit details
-
Copy full SHA for 50940ae - Browse repository at this point
Copy the full SHA 50940aeView commit details