-
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 10 pull requests #69724
Rollup of 10 pull requests #69724
Commits on Mar 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 515446c - Browse repository at this point
Copy the full SHA 515446cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b3261 - Browse repository at this point
Copy the full SHA 96b3261View commit details -
delay_span_bug
when codegen cannot select obligationFix rust-lang#69602, introduced in rust-lang#60126 by letting the compiler continue past type checking after encountering errors.
Configuration menu - View commit details
-
Copy full SHA for 7b6f5ed - Browse repository at this point
Copy the full SHA 7b6f5edView commit details
Commits on Mar 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 98c7ed6 - Browse repository at this point
Copy the full SHA 98c7ed6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aeb9f0 - Browse repository at this point
Copy the full SHA 3aeb9f0View commit details
Commits on Mar 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c745b4a - Browse repository at this point
Copy the full SHA c745b4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db7e34 - Browse repository at this point
Copy the full SHA 6db7e34View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0c3cf2 - Browse repository at this point
Copy the full SHA f0c3cf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea676e - Browse repository at this point
Copy the full SHA 8ea676eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e1cd59 - Browse repository at this point
Copy the full SHA 0e1cd59View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d8c9c - Browse repository at this point
Copy the full SHA a6d8c9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a41f1f1 - Browse repository at this point
Copy the full SHA a41f1f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 729d49d - Browse repository at this point
Copy the full SHA 729d49dView commit details -
Don't use .ok() before unwrapping via .expect() on a Result.
The Result can be expect-unwrapped directly. (clippy::ok_expect)
Configuration menu - View commit details
-
Copy full SHA for 07168f9 - Browse repository at this point
Copy the full SHA 07168f9View commit details -
Use .map() to modify data inside Options instead of using .and_then(|…
…x| Some(y)) (clippy::option_and_then_some)
Configuration menu - View commit details
-
Copy full SHA for 569676b - Browse repository at this point
Copy the full SHA 569676bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f5db7 - Browse repository at this point
Copy the full SHA 38f5db7View commit details -
Don't use "if let" bindings to only check a value and not actually bi…
…nd anything. For example: `if let Some(_) = foo() {}` can be reduced to `if foo().is_some() {}` (clippy::redundant_pattern_matching)
Configuration menu - View commit details
-
Copy full SHA for d8d2004 - Browse repository at this point
Copy the full SHA d8d2004View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27becb2 - Browse repository at this point
Copy the full SHA 27becb2View commit details -
Use single-char patter on {ends,starts}_with and remove clone on copy…
… type. These were introduced since I last fixed most of these occurences. (clippy::clone_on_copy, clippy::single_char_pattern)
Configuration menu - View commit details
-
Copy full SHA for 80ed505 - Browse repository at this point
Copy the full SHA 80ed505View commit details
Commits on Mar 5, 2020
-
Rollup merge of rust-lang#69520 - kornelski:e69492, r=cramertj
Make error message clearer about creating new module This is a partial improvement for rust-lang#69492
Configuration menu - View commit details
-
Copy full SHA for 91d521e - Browse repository at this point
Copy the full SHA 91d521eView commit details -
Rollup merge of rust-lang#69589 - petrochenkov:maccall, r=Centril
ast: `Mac`/`Macro` -> `MacCall` It's now obvious that these refer to macro calls rather than to macro definitions. It's also a single name instead of two different names in different places. `rustc_expand` usually calls macro calls in a wide sense (including attributes and derives) "macro invocations", but structures and variants renamed in this PR are only relevant to fn-like macros, so it's simpler and clearer to just call them calls. cc rust-lang#63586 (comment) r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 33f4285 - Browse repository at this point
Copy the full SHA 33f4285View commit details -
Rollup merge of rust-lang#69614 - estebank:ice-age, r=davidtwco
`delay_span_bug` when codegen cannot select obligation Fix rust-lang#69602, introduced in rust-lang#60126 by letting the compiler continue past type checking after encountering errors.
Configuration menu - View commit details
-
Copy full SHA for e067bf4 - Browse repository at this point
Copy the full SHA e067bf4View commit details -
Rollup merge of rust-lang#69641 - ehuss:update-books, r=ehuss
Update books ## nomicon 8 commits in 3e6e1001dc6e095dbd5c88005e80969f60e384e1..9f797e65e6bcc79419975b17aff8e21c9adc039f 2019-12-14 22:08:52 +0000 to 2020-03-04 03:45:13 +0100 - Rustup to latest rustc (rust-lang/nomicon#203) - (minor) Add backticks around type names (rust-lang/nomicon#197) - Add book.toml (rust-lang/nomicon#185) - Rename `Alloc` to `AllocRef` (rust-lang/nomicon#188) - Lifetimes: explain how to fix destructor example (rust-lang/nomicon#195) - mention soundness (rust-lang/nomicon#194) - Fix example in FFI section Calling Rust from C (rust-lang/nomicon#193) - Removed repeated word (rust-lang/nomicon#191) ## reference 8 commits in 64239df..559e09c 2020-02-10 19:05:13 +0100 to 2020-03-02 01:17:14 +0100 - Syntax error fix (rust-lang/reference#769) - Fix incorrect pseudocode for #[repr(C)] struct alignment (rust-lang/reference#766) - Replace "Field-Less" with "Fieldless" (rust-lang/reference#768) - Removed repeated word (rust-lang/reference#767) - Update for change in const lint name. (rust-lang/reference#764) - semantic type -> resolved type (rust-lang/reference#761) - add behavior change of relative paths without `self` in 2018 edition (rust-lang/reference#757) - assignment operator expressions -> compound assignment expressions (rust-lang/reference#759) ## rust-by-example 3 commits in 32facd5522ddbbf37baf01e4e4b6562bc55c071a..db57f899ea2a56a544c8d280cbf033438666273d 2020-02-11 09:25:06 -0300 to 2020-02-18 17:46:46 -0300 - Minor typo fix in src/mod/visibility (rust-lang/rust-by-example#1309) - Don't suggest Into implements a reverse conversion (rust-lang/rust-by-example#1307) - Improve grammar in example of 'in let' section (rust-lang/rust-by-example#1308) ## embedded-book 2 commits in b2e1092bf67bd4d7686c4553f186edbb7f5f92db..b81ffb7a6f4c5aaed92786e770e99db116aa4ebd 2020-01-30 08:45:46 +0000 to 2020-02-27 08:06:04 +0000 - Setting output to `high` needs a `true` argument (rust-embedded/book#227) - Add licence notes to index.md (rust-embedded/book#226)
Configuration menu - View commit details
-
Copy full SHA for c2e496d - Browse repository at this point
Copy the full SHA c2e496dView commit details -
Rollup merge of rust-lang#69674 - mark-i-m:assoc-fn, r=Centril
Rename DefKind::Method and TraitItemKind::Method r? @eddyb, @Centril, or @matthewjasper cc rust-lang#69498 rust-lang#60163
Configuration menu - View commit details
-
Copy full SHA for 210d693 - Browse repository at this point
Copy the full SHA 210d693View commit details -
Rollup merge of rust-lang#69697 - GuillaumeGomez:explanation-e0380, r…
…=Dylan-DPC Add explanation for E0380 r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for c9f7758 - Browse repository at this point
Copy the full SHA c9f7758View commit details -
Rollup merge of rust-lang#69698 - RalfJung:int_assoc, r=davidtwco
Use associated constants of integer types Take advantage of rust-lang#68952 in the interpreter and some nearby modules :)
Configuration menu - View commit details
-
Copy full SHA for 2ef7c86 - Browse repository at this point
Copy the full SHA 2ef7c86View commit details -
Rollup merge of rust-lang#69705 - ehuss:toolstate-remove-redundant-be…
…ta, r=Mark-Simulacrum Toolstate: remove redundant beta-week check. I made a bit of a mistake in rust-lang#69624. The "beta regression" doesn't need to be checked twice. I also rolled up rust-lang#69693 to avoid merge conflicts.
Configuration menu - View commit details
-
Copy full SHA for 18d3c36 - Browse repository at this point
Copy the full SHA 18d3c36View commit details -
Rollup merge of rust-lang#69711 - penelopezone:patch-1, r=steveklabnik
Update macros.rs: fix documentation typo.
Configuration menu - View commit details
-
Copy full SHA for e15d393 - Browse repository at this point
Copy the full SHA e15d393View commit details -
Rollup merge of rust-lang#69713 - matthiaskrgr:more_cleanup, r=cramertj
more clippy cleanups * Don't use .ok() before unwrapping via .expect() on a Result. * Use .map() to modify data inside Options instead of using .and_then(|x| Some(y)) * Use .as_deref() instead of .as_ref().map(Deref::deref) * Don't use "if let" bindings to only check a value and not actually bind anything. * Use single-char patter on {ends,starts}_with and remove clone on copy type.
Configuration menu - View commit details
-
Copy full SHA for 5089e11 - Browse repository at this point
Copy the full SHA 5089e11View commit details