- 04 3月, 2019 1 次提交
-
-
由 Edward Barnard 提交于
-
- 03 3月, 2019 10 次提交
-
-
由 bors 提交于
Update miri Related to #58841 r? @RalfJung
-
由 bors 提交于
Rollup of 14 pull requests Successful merges: - #58730 (Have all methods of Filter and FilterMap use internal iteration) - #58780 (ManuallyDrop != MaybeUninit) - #58782 (Replace `s` with `self` in docs for str methods taking self.) - #58785 (allow specifying attributes for tool lints) - #58802 (Ensure `record_layout_for_printing()` is inlined.) - #58821 (Fixed a syntax error in the pin docs) - #58830 (tidy: deny(rust_2018_idioms)) - #58832 (Revert switching to GCP on AppVeyor) - #58833 (tools/rustbook: deny(rust_2018_idioms)) - #58835 (tools/remote-test-{client,server}: deny(rust_2018_idioms)) - #58838 (Fix typo in Vec#resize_with documentation) - #58842 (Forbid duplicating Cargo as a dependency) - #58852 (Update toolchain to build NetBSD release) - #58865 (Fix C-variadic function printing)
-
由 kennytm 提交于
Fix C-variadic function printing There is no longer a need to append the string `", ..."` to a functions args as `...` is parsed as an argument and will appear in the functions arguments. Fixes: #58853
-
由 bors 提交于
Bootstrap compiler update for 1.35 release r? @alexcrichton
-
由 Mark Rousskov 提交于
-
由 bors 提交于
Use the correct stderr when testing libstd When compiling the unit tests for libstd, there are two copies of `std` in existence, see [lib.rs](https://github.com/rust-lang/rust/blob/919cf42/src/libstd/lib.rs#L335-L341). This means there are two copies of everything, including thread local variable definitions. Before this PR, it's possible that libtest would configure a stderr sink in one of those copies, whereas the panic logic would inspect the sink in the other copy, resulting in libtest missing the relevant panic message. This PR makes sure that when testing, the panic logic always accesses the stderr sink from “realstd”, using the same logic that libtest uses.
-
由 Alexander Regueiro 提交于
-
由 Santiago Pastorino 提交于
-
由 bors 提交于
Remove NodeId from even more HIR nodes The next iteration of HirIdification (#57578). Removes `NodeId` from: - [x] `StructField` - [x] `ForeignItem` - [x] `Item` - [x] `Pat` - [x] `FieldPat` - [x] `VariantData` - [x] `ImplItemId` (replaces it with `HirId`) - [x] `TraitItemId` (replaces it with `HirId`)
-
由 Mark Rousskov 提交于
-
- 02 3月, 2019 29 次提交
-
-
由 Dan Robertson 提交于
There is no longer a need to append the string `", ..."` to a functions args as `...` is parsed as an argument and will appear in the functions arguments.
-
由 kennytm 提交于
Forbid duplicating Cargo as a dependency Fixes https://github.com/rust-lang/rust/issues/53005
-
由 kennytm 提交于
Update toolchain to build NetBSD release This allows us to remove the "allow old toolchains" flag we pass to LLVM, ensuring that we'll be up to date when LLVM needs us to be! This is a follow-up from https://github.com/rust-lang/rust/pull/58408 where NetBSD was explicitly whitelisted to allow older toolchains.
-
由 kennytm 提交于
Fix typo in Vec#resize_with documentation
-
由 kennytm 提交于
tools/remote-test-{client,server}: deny(rust_2018_idioms) r? @oli-obk (+ tiny amount of cleanup)
-
由 kennytm 提交于
tools/rustbook: deny(rust_2018_idioms) r? @oli-obk
-
由 kennytm 提交于
Revert switching to GCP on AppVeyor r? @alexcrichton
-
由 kennytm 提交于
tidy: deny(rust_2018_idioms) r? @oli-obk
-
由 kennytm 提交于
Fixed a syntax error in the pin docs
-
由 kennytm 提交于
Ensure `record_layout_for_printing()` is inlined. This reduces instruction counts for the `ctfe-stress-2` benchmark by about 1%. r? @oli-obk
-
由 kennytm 提交于
allow specifying attributes for tool lints Needed for clippy to fix `unused_doc_comments` warnings that will be exposed by #57882 (and thus unblock it).
-
由 kennytm 提交于
Replace `s` with `self` in docs for str methods taking self. Cherry picked from PR #58596 which is blocked on some intra-doc link bugs.
-
由 kennytm 提交于
ManuallyDrop != MaybeUninit Cc @Centril
-
由 kennytm 提交于
Have all methods of Filter and FilterMap use internal iteration This PR changes `Filter::{next, next_back, count}` and `FilterMap::{next, next_back}` to all use internal iteration. The `next` and `next_back` methods are changed to directly forward to `try_for_each` and `try_rfold` respectively, using `Result` as the `Try` type. I think that's okay? Alternatively, I could change their implementations to use `LoopState` instead if there's any benefit in doing so. r? @scottmcm
-
由 bors 提交于
Set secure flags when opening a named pipe on Windows Fixes https://github.com/rust-lang/rust/issues/42036, see also the previous attempt in https://github.com/rust-lang/rust/pull/44556. Whether this is correct depends on if it is somehow possible to create a symlink to a named pipe, outside the named pipe filesystem (NPFS). But as far as I can tell that should be impossible. Also fixes that `security_qos_flags(SECURITY_ANONYMOUS)` does not set the `SECURITY_SQOS_PRESENT` flag, and the incorrect documentation about the default value of `security_qos_flags`.
-
由 bors 提交于
Add debug-info to access variables from generator state
-
由 ljedrz 提交于
-
由 ljedrz 提交于
-
由 ljedrz 提交于
-
由 ljedrz 提交于
-
由 ljedrz 提交于
-
由 ljedrz 提交于
-
由 ljedrz 提交于
-
由 ljedrz 提交于
-
由 bors 提交于
Include bounds from promoted constants in NLL Previously a promoted function wouldn't have its bound propagated out to the main function body. When we visit a promoted, we now type check the MIR of the promoted and transfer any lifetime constraints to back to the main function's MIR. Fixes #57170 r? @nikomatsakis
-
由 bors 提交于
Add support for using a jobserver with Rayon The Rayon changes are here: https://github.com/Zoxc/rayon/pull/2 cc @alexcrichton r? @nikomatsakis
-
由 bors 提交于
Update edition-guide 15 commits in 419edb885ec1a98c0747b3907003d79e3e6b93a9..5f3cc2a5618700efcde3bc00799744f21fa9ad2e 2018-12-04 16:43:38 -0500 to 2019-02-27 20:11:50 -0800 - Migrate to mdbook 0.2. (rust-lang-nursery/edition-guide#152) - Remove automatic deployment. (rust-lang-nursery/edition-guide#151) - Fix issue with rust's linkchecker and mdbook. (rust-lang-nursery/edition-guide#147) - Fix test now that overflowing_literals is rejected in all editions. (rust-lang-nursery/edition-guide#148) - overflowing_literals is deny on all editions (rust-lang-nursery/edition-guide#146) - Update for uniform_path stabilization. (rust-lang-nursery/edition-guide#141) - Add example to rustup to show overriding to specific version (rust-lang-nursery/edition-guide#144) - Update for anonymous-lifetime stabilization. (rust-lang-nursery/edition-guide#142) - Add minimum Rust version for Kleene operator (rust-lang-nursery/edition-guide#137) - Add 2018-specific changes. (rust-lang-nursery/edition-guide#130) - aborting-on-panic.md: Typo in example config (rust-lang-nursery/edition-guide#125) - Clarify uniform paths are not yet in Rust 2018 (rust-lang-nursery/edition-guide#124) - update several version numbers - Fixes outdated link (rust-lang-nursery/edition-guide#131) - Fixed typo in transitioning page. (rust-lang-nursery/edition-guide#127)
-
由 Matthew Jasper 提交于
Type annotations are shared between the MIR of a function and the promoted constants for that function, so keep them in the type checker when we check the promoted MIR.
-
由 Matthew Jasper 提交于
-