-
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 5 pull requests #70427
Rollup of 5 pull requests #70427
Commits on Mar 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4920a33 - Browse repository at this point
Copy the full SHA 4920a33View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5343d6 - Browse repository at this point
Copy the full SHA b5343d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d77d01 - Browse repository at this point
Copy the full SHA 4d77d01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81006f6 - Browse repository at this point
Copy the full SHA 81006f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb3e513 - Browse repository at this point
Copy the full SHA bb3e513View commit details
Commits on Mar 26, 2020
-
Throw error when encountering
...
instead of..
while destructing…… a pattern Added tests and stderr output
Configuration menu - View commit details
-
Copy full SHA for 73c8203 - Browse repository at this point
Copy the full SHA 73c8203View commit details -
Configuration menu - View commit details
-
Copy full SHA for c21e25c - Browse repository at this point
Copy the full SHA c21e25cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8a05e2 - Browse repository at this point
Copy the full SHA e8a05e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6507170 - Browse repository at this point
Copy the full SHA 6507170View commit details -
introduce
negative_impls
feature gate and documentThey used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits.
Configuration menu - View commit details
-
Copy full SHA for fda3378 - Browse repository at this point
Copy the full SHA fda3378View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc0d6d0 - Browse repository at this point
Copy the full SHA cc0d6d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68aa798 - Browse repository at this point
Copy the full SHA 68aa798View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73a5500 - Browse repository at this point
Copy the full SHA 73a5500View commit details -
Configuration menu - View commit details
-
Copy full SHA for f662847 - Browse repository at this point
Copy the full SHA f662847View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7107f6e - Browse repository at this point
Copy the full SHA 7107f6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 644b9a0 - Browse repository at this point
Copy the full SHA 644b9a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5c09ed - Browse repository at this point
Copy the full SHA f5c09edView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9e09d8 - Browse repository at this point
Copy the full SHA b9e09d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c35801e - Browse repository at this point
Copy the full SHA c35801eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 011215b - Browse repository at this point
Copy the full SHA 011215bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d07026 - Browse repository at this point
Copy the full SHA 0d07026View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b00c20 - Browse repository at this point
Copy the full SHA 0b00c20View commit details -
Rollup merge of rust-lang#68004 - nikomatsakis:negative-impls, r=varkor
permit negative impls for non-auto traits This is a prototype impl that extends `impl !Trait` beyond auto traits. It is not integrated with coherence or anything else, and hence only serves to prevent downstream impls (but not to allow downstream crates to rely on the absence of such impls for coherence purposes). Fixes rust-lang#66544 TODO: - [x] need a test that you can't rely on negative impls for coherence purposes - [x] test that negative impls cannot specialize positive ones - [x] test that positive impls cannot specialize negative ones - [x] extend negative impl to `Clone` in order to fully fix rust-lang#66544 - [x] and maybe make `CoerceUnsized` unsafe? -- that problem is now split out into rust-lang#68015 - [x] introduce feature flag and prepare a write-up - [x] improve diagnostics?
Configuration menu - View commit details
-
Copy full SHA for b0a63cb - Browse repository at this point
Copy the full SHA b0a63cbView commit details -
Rollup merge of rust-lang#70385 - RalfJung:miri-nits, r=eddyb
Miri nits: comment and var name improvement r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 20771ae - Browse repository at this point
Copy the full SHA 20771aeView commit details -
Rollup merge of rust-lang#70411 - ogoffart:fix-62691, r=eddyb
Fix for rust-lang#62691: use the largest niche across all fields fixes rust-lang#62691 (The second commit is a small optimization but it makes the code less pretty and i don't know if it is worth it.)
Configuration menu - View commit details
-
Copy full SHA for f9d1378 - Browse repository at this point
Copy the full SHA f9d1378View commit details -
Rollup merge of rust-lang#70417 - rakshith-ravi:master, r=Centril
parser: recover on `...` as a pattern, suggesting `..` Fixes rust-lang#70388 My first PR to rust. So please let me know if I'm doing something wrong.
Configuration menu - View commit details
-
Copy full SHA for 37e1860 - Browse repository at this point
Copy the full SHA 37e1860View commit details -
Rollup merge of rust-lang#70424 - lcnr:nit, r=Centril
simplify match stmt We actually have a surprising amount of ```rust match expr { $($p:pat)|+ => true, _ => false, } ``` While I would prefer this to be replaced with `matches!`, most cases are fairly readable anyway so we can just let them be for now.
Configuration menu - View commit details
-
Copy full SHA for 608715b - Browse repository at this point
Copy the full SHA 608715bView commit details