-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 16 pull requests #62182
Rollup of 16 pull requests #62182
Commits on Jun 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b66dcb9 - Browse repository at this point
Copy the full SHA b66dcb9View commit details -
mention that overwrite-without-drop also violates the drop guarantee,…
… and link some more stuff
Configuration menu - View commit details
-
Copy full SHA for c489636 - Browse repository at this point
Copy the full SHA c489636View commit details -
Configuration menu - View commit details
-
Copy full SHA for 665aa3e - Browse repository at this point
Copy the full SHA 665aa3eView commit details
Commits on Jun 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 86e283a - Browse repository at this point
Copy the full SHA 86e283aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eb074d - Browse repository at this point
Copy the full SHA 2eb074dView commit details
Commits on Jun 19, 2019
-
Apply suggestions from code review
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f250951 - Browse repository at this point
Copy the full SHA f250951View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf03a3c - Browse repository at this point
Copy the full SHA bf03a3cView commit details
Commits on Jun 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a99a7b7 - Browse repository at this point
Copy the full SHA a99a7b7View commit details
Commits on Jun 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1c12b1b - Browse repository at this point
Copy the full SHA 1c12b1bView commit details
Commits on Jun 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b75021b - Browse repository at this point
Copy the full SHA b75021bView commit details -
Updated RELEASES.md for 1.36.0
Co-Authored-By: Taiki Endo <te316e89@gmail.com> Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com> Co-Authored-By: Torbjørn Birch Moltu <t.b.moltu@lyse.net>
Configuration menu - View commit details
-
Copy full SHA for 0f34d7a - Browse repository at this point
Copy the full SHA 0f34d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba12e78 - Browse repository at this point
Copy the full SHA ba12e78View commit details -
cleanup: rename name_from to symbol_from
Lexer uses Symbols for a lot of stuff, not only for identifiers, so the "name" terminology is just confusing.
Configuration menu - View commit details
-
Copy full SHA for 57db25e - Browse repository at this point
Copy the full SHA 57db25eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 390f717 - Browse repository at this point
Copy the full SHA 390f717View commit details
Commits on Jun 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5cb841d - Browse repository at this point
Copy the full SHA 5cb841dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 182ce77 - Browse repository at this point
Copy the full SHA 182ce77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72ca844 - Browse repository at this point
Copy the full SHA 72ca844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e62050 - Browse repository at this point
Copy the full SHA 7e62050View commit details -
Configuration menu - View commit details
-
Copy full SHA for e053eed - Browse repository at this point
Copy the full SHA e053eedView commit details -
Configuration menu - View commit details
-
Copy full SHA for b366f2b - Browse repository at this point
Copy the full SHA b366f2bView commit details
Commits on Jun 27, 2019
-
save-analysis: use buffered writes
Otherwise it ends up writing the file byte at a time, which can be very slow for large outputs.
Configuration menu - View commit details
-
Copy full SHA for 768d500 - Browse repository at this point
Copy the full SHA 768d500View commit details -
rustc: Retry SIGILL linker invocations
We've seen quite a few issues with spurious illegal instructions getting executed on OSX on CI recently. For whatever reason `cc` itself is executing an illegal instruction and we're not really getting any other information about what's happening. Since we're already retrying the linker when it segfaults, let's just continue to retry everything and automatically reinvoke the linker when it fails with an illegal instruction.
Configuration menu - View commit details
-
Copy full SHA for b608749 - Browse repository at this point
Copy the full SHA b608749View commit details -
Configuration menu - View commit details
-
Copy full SHA for d79104b - Browse repository at this point
Copy the full SHA d79104bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8819420 - Browse repository at this point
Copy the full SHA 8819420View commit details -
Rollup merge of rust-lang#61878 - RalfJung:pin, r=Dylan-DPC
improve pinning projection docs This tries to improve the explanation of structural pinning and pinning projections based on [this URLO thread](https://users.rust-lang.org/t/when-is-it-safe-to-move-a-member-value-out-of-a-pinned-future/28182). Fixes rust-lang#61272.
Configuration menu - View commit details
-
Copy full SHA for ed8cba1 - Browse repository at this point
Copy the full SHA ed8cba1View commit details -
Rollup merge of rust-lang#62043 - Centril:remove-fnbox, r=cramertj
Remove `FnBox` Remove `FnBox` since we now have `Box<dyn FnOnce>`. Closes rust-lang#28796. r? @cramertj
Configuration menu - View commit details
-
Copy full SHA for ebdf01c - Browse repository at this point
Copy the full SHA ebdf01cView commit details -
Rollup merge of rust-lang#62067 - doctorn:await_diagnostic, r=matthew…
…jasper Add suggestion for missing `.await` keyword This commit adds a suggestion diagnostic for missing `.await`. In order to do this, the trait `Future` is promoted to a lang item. Compiling code of the form: ```rust #![feature(async_await)] fn take_u32(x: u32) {} async fn make_u32() -> u32 { 22 } async fn foo() { let x = make_u32(); take_u32(x) } fn main() {} ``` Will now result in the suggestion: ``` error[E0308]: mismatched types --> src/main.rs:11:18 | 11 | take_u32(x) | ^ | | | expected u32, found opaque type | help: consider using `.await` here: `x.await` | = note: expected type `u32` found type `impl std::future::Future` ``` This commit does not cover chained expressions and therefore only covers the case originally pointed out in rust-lang#61076. Cases I can think of that still need to be covered: - [ ] Return places for functions - [ ] Field access - [ ] Method invocation I'm planning to submit PRs for each of these separately as and when I have figured them out.
Configuration menu - View commit details
-
Copy full SHA for 2cdfff8 - Browse repository at this point
Copy the full SHA 2cdfff8View commit details -
Rollup merge of rust-lang#62076 - XAMPPRocky:master, r=XAMPPRocky
Updated RELEASES.md for 1.36.0 [Rendered](https://github.com/XAMPPRocky/rust/blob/master/RELEASES.md) r? @Mark-Simulacrum cc @rust-lang/release
Configuration menu - View commit details
-
Copy full SHA for 5343acd - Browse repository at this point
Copy the full SHA 5343acdView commit details -
Rollup merge of rust-lang#62102 - RalfJung:read, r=Centril
call out explicitly that general read needs to be called with an initialized buffer
Configuration menu - View commit details
-
Copy full SHA for d95e074 - Browse repository at this point
Copy the full SHA d95e074View commit details -
Rollup merge of rust-lang#62106 - cramertj:test-await, r=centril
Add more tests for async/await I'll follow up with more of these, but here's an initial few. r? @Centril
Configuration menu - View commit details
-
Copy full SHA for de92646 - Browse repository at this point
Copy the full SHA de92646View commit details -
Rollup merge of rust-lang#62124 - matklad:without-with, r=petrochenkov
refactor lexer to use idiomatic borrowing
Configuration menu - View commit details
-
Copy full SHA for 13d2727 - Browse repository at this point
Copy the full SHA 13d2727View commit details -
Rollup merge of rust-lang#62150 - alex:mem-uninit-refactor, r=RalfJun…
…g,oli-obk,Centril Implement mem::{zeroed,uninitialized} in terms of MaybeUninit. Refs rust-lang#62061 r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 2a0a6a4 - Browse repository at this point
Copy the full SHA 2a0a6a4View commit details -
Rollup merge of rust-lang#62152 - doctorn:async_let_ice, r=cramertj
Don't ICE on item in `.await` expression The code for lowering a `.await` expression missed that item IDs may already have been assigned for items inside of an `async` block, or for closures. This change means we no longer exit early after finding a `.await` in a block that isn't `async` and instead just emit the error. This avoids an ICE generated due to item IDs not being densely generated. (The `YieldSource` of the generated `yield` expression is used to avoid errors generated about having `yield` expressions outside of generator literals.) r? @cramertj Resolves rust-lang#62009 and resolves rust-lang#61685
Configuration menu - View commit details
-
Copy full SHA for cf53bc6 - Browse repository at this point
Copy the full SHA cf53bc6View commit details -
Rollup merge of rust-lang#62154 - mark-i-m:old-fixme, r=Centril
Remove old fixme fixed in rust-lang#60160 r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 457e9e6 - Browse repository at this point
Copy the full SHA 457e9e6View commit details -
Rollup merge of rust-lang#62155 - cramertj:61872, r=centril
Add regression test for MIR drop generation in async loops Fixes rust-lang#61986. r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 54adc9f - Browse repository at this point
Copy the full SHA 54adc9fView commit details -
Rollup merge of rust-lang#62156 - ehuss:update-books, r=ehuss
Update books Update nomicon, reference, book, rust-by-example, rustc-guide ## nomicon 2 commits in c656171b749b7307f21371dd0d3278efee5573b8..341c221116a8b9f1010cf1eece952b80c5ec7f54 2019-04-25 15:31:26 -0400 to 2019-06-19 09:08:47 -0700 - Fix some links. - cleanup the intro, and clarify how it relates to the reference (rust-lang/nomicon#140) ## reference 2 commits in 08ae27a..7a5aab5 2019-06-17 11:24:13 -0700 to 2019-06-20 17:38:52 +0200 - Update for cfg on generic parameter. (rust-lang/reference#624) - Link to "const functions" section from constant expressions list (rust-lang/reference#623) ## book 2 commits in 9aacfcc4c5b102c8cda195932addefd32fe955d2..6c0d83499c8e77e06a71d28c5e1adccec278d4f3 2019-06-16 21:27:26 -0400 to 2019-06-23 20:25:30 -0400 - fancy quotes - Edits made in copyedit ## rust-by-example 2 commits in b27472962986e85c94f4183b1a6d2207660d3ed6..62b3ff2cb44dd8b648c3ef2a9347c3706d148014 2019-06-17 15:52:07 -0300 to 2019-06-24 09:17:21 -0300 - A couple of fixes for the `Box, stack and heap` chapter. (rust-lang/rust-by-example#1206) - [typo] Note, that it is -> Note that, it is (rust-lang/rust-by-example#1207) ## rustc-guide 38 commits in f55e97c145cf37fd664db2e0e2f2d05df328bf4f..abf512fc9cc969dcbea69aa15b44586bbeb13c2d 2019-06-15 17:29:12 -0500 to 2019-06-26 11:05:58 -0500 - fix long line - add `point` to the glossary and link a use of it - fix indentation - Update src/borrow_check/region_inference/placeholders_and_universes.md - Update src/borrow_check/region_inference/placeholders_and_universes.md - Update src/borrow_check/region_inference/placeholders_and_universes.md - Update src/borrow_check/region_inference/member_constraints.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/member_constraints.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/member_constraints.md - Update src/borrow_check/region_inference/member_constraints.md - Update src/borrow_check/region_inference/lifetime_parameters.md - Update src/borrow_check/region_inference/member_constraints.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/constraint_propagation.md - Update src/borrow_check/region_inference/lifetime_parameters.md - Update src/borrow_check/region_inference/lifetime_parameters.md - Update src/borrow_check/region_inference/lifetime_parameters.md - Update src/borrow_check/region_inference/constraint_propagation.md - adjust overview slightly - describe region inference and member constraints in some detail - start filling out the constraint propagation chapter in more detail - break out parts of the region inference chapter into sub-chapters - fix typo - avoid ftp links - fix broken links - add bibligraphy appendix - Update to mdbook-linkcheck 0.3.0 - Update mdbook - Change stage0 cfg_attr to bootstrap - fix compiler-team - Added Rustc Debugger Support Chapter
Configuration menu - View commit details
-
Copy full SHA for a067d22 - Browse repository at this point
Copy the full SHA a067d22View commit details -
Rollup merge of rust-lang#62160 - ia0:question_mark_macro_sep, r=petr…
…ochenkov Remove outdated question_mark_macro_sep lint
Configuration menu - View commit details
-
Copy full SHA for 9551ab9 - Browse repository at this point
Copy the full SHA 9551ab9View commit details -
Rollup merge of rust-lang#62164 - jsgf:buffer-save-analysis, r=Xanewok
save-analysis: use buffered writes Otherwise it ends up writing the file byte at a time, which can be very slow for large outputs. cc @ljw1004
Configuration menu - View commit details
-
Copy full SHA for 0b690f0 - Browse repository at this point
Copy the full SHA 0b690f0View commit details -
Rollup merge of rust-lang#62171 - alexcrichton:more-restarts, r=eddyb
rustc: Retry SIGILL linker invocations We've seen quite a few issues with spurious illegal instructions getting executed on OSX on CI recently. For whatever reason `cc` itself is executing an illegal instruction and we're not really getting any other information about what's happening. Since we're already retrying the linker when it segfaults, let's just continue to retry everything and automatically reinvoke the linker when it fails with an illegal instruction.
Configuration menu - View commit details
-
Copy full SHA for ab7143c - Browse repository at this point
Copy the full SHA ab7143cView commit details -
Rollup merge of rust-lang#62176 - Xanewok:update-rls, r=alexcrichton
Update RLS Merged PRs: * fix(cmd): make clear_env_rust_log default to false (rust-lang/rls#1486) - Retain `RUST_LOG` in `rls --cli` mode * Pass --file-lines to rustfmt only if specified (rust-lang/rls#1497) - Fix entire-file formatting when using external rustfmt (specified via `rustfmt_path` config) * Ensure that --error-format is only passed once to `rustc` (rust-lang/rls#1500) - Unbreaks RLS when used together with Cargo [pipelining build](rust-lang#60988) feature (@alexcrichton I'd consider this a stabilization blocker, mind adding it to the tracking issue for the record? 🙇♂️ )
Configuration menu - View commit details
-
Copy full SHA for 24a356f - Browse repository at this point
Copy the full SHA 24a356fView commit details