-
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 23 pull requests #53252
Rollup of 23 pull requests #53252
Commits on Aug 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b68b396 - Browse repository at this point
Copy the full SHA b68b396View commit details
Commits on Aug 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1667950 - Browse repository at this point
Copy the full SHA 1667950View commit details
Commits on Aug 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1dd53f7 - Browse repository at this point
Copy the full SHA 1dd53f7View commit details
Commits on Aug 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for bf089a1 - Browse repository at this point
Copy the full SHA bf089a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26991eb - Browse repository at this point
Copy the full SHA 26991ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed55520 - Browse repository at this point
Copy the full SHA ed55520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9207cc9 - Browse repository at this point
Copy the full SHA 9207cc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c556cff - Browse repository at this point
Copy the full SHA c556cffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75fa16b - Browse repository at this point
Copy the full SHA 75fa16bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6858bd8 - Browse repository at this point
Copy the full SHA 6858bd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d2c4a3 - Browse repository at this point
Copy the full SHA 9d2c4a3View commit details -
Deny future duplication of rustc-ap-syntax
Enable the tidy check to forbid this! Closes rust-lang#53006
Configuration menu - View commit details
-
Copy full SHA for 6c7473d - Browse repository at this point
Copy the full SHA 6c7473dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9aca02 - Browse repository at this point
Copy the full SHA c9aca02View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffdac5d - Browse repository at this point
Copy the full SHA ffdac5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1601879 - Browse repository at this point
Copy the full SHA 1601879View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94c3856 - Browse repository at this point
Copy the full SHA 94c3856View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6563803 - Browse repository at this point
Copy the full SHA 6563803View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82a704a - Browse repository at this point
Copy the full SHA 82a704aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cb91da - Browse repository at this point
Copy the full SHA 2cb91daView commit details -
[nll] libsyntax_ext: remove unnecessary mut annotation on variable
Pointed out by nll. It is correct that the mut annotation is not needed.
Configuration menu - View commit details
-
Copy full SHA for ce5b9c6 - Browse repository at this point
Copy the full SHA ce5b9c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4861643 - Browse repository at this point
Copy the full SHA 4861643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b42a21 - Browse repository at this point
Copy the full SHA 4b42a21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8172485 - Browse repository at this point
Copy the full SHA 8172485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 588dbed - Browse repository at this point
Copy the full SHA 588dbedView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9f2b51 - Browse repository at this point
Copy the full SHA d9f2b51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5840735 - Browse repository at this point
Copy the full SHA 5840735View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9b7be - Browse repository at this point
Copy the full SHA ac9b7beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aced68 - Browse repository at this point
Copy the full SHA 4aced68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aa6c23 - Browse repository at this point
Copy the full SHA 1aa6c23View commit details -
targets: aarch64: Add bare-metal aarch64 target
A generic AArch64 target that can be used for writing bare-metal code for 64-bit ARM architectures.
Configuration menu - View commit details
-
Copy full SHA for 898950c - Browse repository at this point
Copy the full SHA 898950cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef34a16 - Browse repository at this point
Copy the full SHA ef34a16View commit details
Commits on Aug 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 176f8c2 - Browse repository at this point
Copy the full SHA 176f8c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b187c42 - Browse repository at this point
Copy the full SHA b187c42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 945f032 - Browse repository at this point
Copy the full SHA 945f032View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8d95a5 - Browse repository at this point
Copy the full SHA e8d95a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6ca8e - Browse repository at this point
Copy the full SHA 5d6ca8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46b818e - Browse repository at this point
Copy the full SHA 46b818eView commit details -
[nll] librustc_codegen_llvm: change Child signature to fix error poin…
…ted out by nll As explained by eddyb in rust-lang#53221, "An &ArchiveChild doesn't point into the archive itself, it points to an owned object that itself points to the archive, and LLVMRustArchiveMemberNew copies the ArchiveChild (whereas the current signature suggests it keeps the &ArchiveChild)."
Configuration menu - View commit details
-
Copy full SHA for 085535b - Browse repository at this point
Copy the full SHA 085535bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0123ac1 - Browse repository at this point
Copy the full SHA 0123ac1View commit details -
Link compiler test documentation to rustc-guide
Update the compiler test documentation to point to the relevant rustc-guide page.
Configuration menu - View commit details
-
Copy full SHA for 8a76656 - Browse repository at this point
Copy the full SHA 8a76656View commit details -
Rollup merge of rust-lang#53019 - ljedrz:bad_collects, r=estebank
Don't collect() when size_hint is useless This adjusts PRs rust-lang#52738 and rust-lang#52697 by falling back to calculating capacity and extending or pushing in a loop where `collect()` can't be trusted to calculate the right capacity. It is a performance win.
Configuration menu - View commit details
-
Copy full SHA for 3e13393 - Browse repository at this point
Copy the full SHA 3e13393View commit details -
Rollup merge of rust-lang#53025 - ljedrz:debug_asserts_limited, r=varkor
Consider changing assert! to debug_assert! when it calls visit_with The perf run from rust-lang#52956 revealed that there were 3 benchmarks that benefited most from changing `assert!`s to `debug_assert!`s: - issue rust-lang#46449: avg -4.7% for -check - deeply-nested (AKA rust-lang#38528): avg -3.4% for -check - regression rust-lang#31157: avg -3.2% for -check I analyzed their fixing PRs and decided to look for potentially heavy assertions in the files they modified. I noticed that all of the non-trivial ones contained indirect calls to `visit_with()`. It might be a good idea to consider changing `assert!` to `debug_assert!` in those places in order to get the performance wins shown by the benchmarks.
Configuration menu - View commit details
-
Copy full SHA for 096fabe - Browse repository at this point
Copy the full SHA 096fabeView commit details -
Rollup merge of rust-lang#53059 - ljedrz:unneeded_returns, r=kennytm
Remove explicit returns where unnecessary
Configuration menu - View commit details
-
Copy full SHA for 6b06a8e - Browse repository at this point
Copy the full SHA 6b06a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e37391b - Browse repository at this point
Copy the full SHA e37391bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 538d1ba - Browse repository at this point
Copy the full SHA 538d1baView commit details
Commits on Aug 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4076dc4 - Browse repository at this point
Copy the full SHA 4076dc4View commit details -
Rollup merge of rust-lang#53208 - BurntPizza:protect-the-environment,…
… r=alexcrichton Don't panic on std::env::vars() when env is null. Fixes rust-lang#53200. Reviewer(s): * Do I need to do any `#[cfg()]` here? * Is this use of libc ok for a dev-dependency?
Configuration menu - View commit details
-
Copy full SHA for a7830aa - Browse repository at this point
Copy the full SHA a7830aaView commit details -
Rollup merge of rust-lang#53210 - alexcrichton:deny-rustc-syntax, r=nrc
Deny future duplication of rustc-ap-syntax Enable the tidy check to forbid this! Closes rust-lang#53006
Configuration menu - View commit details
-
Copy full SHA for 715581a - Browse repository at this point
Copy the full SHA 715581aView commit details -
Rollup merge of rust-lang#53229 - varkor:rlimits_min, r=nikomatsakis
Make sure rlimit is only ever increased `libc::setrlimit` will fail if we try to set the rlimit to a value lower than it is currently, so make sure we're never trying to do this. Fixes rust-lang#52801.
Configuration menu - View commit details
-
Copy full SHA for fdf4007 - Browse repository at this point
Copy the full SHA fdf4007View commit details -
Rollup merge of rust-lang#53233 - andre-richter:master, r=alexcrichton
targets: aarch64: Add bare-metal aarch64 target A generic AArch64 target that can be used for writing bare-metal code for 64-bit ARM architectures.
Configuration menu - View commit details
-
Copy full SHA for 28edfb0 - Browse repository at this point
Copy the full SHA 28edfb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a801c8 - Browse repository at this point
Copy the full SHA 5a801c8View commit details -
Show that Command can be reused and remodified
The prior documentation did not make it clear this was possible.
Configuration menu - View commit details
-
Copy full SHA for 53d308f - Browse repository at this point
Copy the full SHA 53d308fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44af068 - Browse repository at this point
Copy the full SHA 44af068View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9f934f - Browse repository at this point
Copy the full SHA f9f934fView commit details -
Rollup merge of rust-lang#53235 - varkor:gat_impl_where, r=estebank
Feature gate where clauses on associated type impls Fixes rust-lang#52913. This doesn't address the core problem, which is tracked by rust-lang#47206. However, it fixes the stable-to-stable regression: you now have to enable `#![feature(generic_associated_types)]` to trigger the weird behaviour.
Configuration menu - View commit details
-
Copy full SHA for c95edca - Browse repository at this point
Copy the full SHA c95edcaView commit details -
Rollup merge of rust-lang#53236 - alexreg:stabilise-raw-idents, r=cra…
…mertj Stabilise raw_identifiers feature * [Reference PR](rust-lang/reference#395) * [Book PR](rust-lang/book#1480) * [Rust by Example PR](rust-lang/rust-by-example#1095) Closes rust-lang#48589. r? @cramertj CC @cuviper @Centril
Configuration menu - View commit details
-
Copy full SHA for dcfbdea - Browse repository at this point
Copy the full SHA dcfbdeaView commit details -
Rollup merge of rust-lang#53240 - llogiq:doc-num-swap-reverse, r=josh…
…triplett Add individual documentation for <integer>`.swap_bytes`/.`reverse_bits`
Configuration menu - View commit details
-
Copy full SHA for 9ec70d3 - Browse repository at this point
Copy the full SHA 9ec70d3View commit details -
Rollup merge of rust-lang#53253 - GuillaumeGomez:remove-console, r=ke…
…nnytm Remove unwanted console log Forgot to remove a `console.log`, now it's fixed.
Configuration menu - View commit details
-
Copy full SHA for fa4dc7a - Browse repository at this point
Copy the full SHA fa4dc7aView commit details -
Rollup merge of rust-lang#52955 - tromey:compiler-test-docs, r=nikoma…
…tsakis Update compiler test documentation Update the compiler test documentation to document ignore-gdb-version and min-system-llvm-version; and expand the min-gdb-version, min-lldb-version, and min-llvm-version documentation a little.
Configuration menu - View commit details
-
Copy full SHA for a64911c - Browse repository at this point
Copy the full SHA a64911cView commit details -
Rollup merge of rust-lang#53230 - memoryruins:nll_bootstrap_4, r=niko…
…matsakis [nll] enable feature(nll) on various crates for bootstrap: part 4 rust-lang#53172
Configuration menu - View commit details
-
Copy full SHA for 1bd57e2 - Browse repository at this point
Copy the full SHA 1bd57e2View commit details -
Rollup merge of rust-lang#53165 - jakllsch:netbsd-ad22a005-b917-47f3-…
…8156-f717d36f6bbe, r=estebank Add aarch64-unknown-netbsd target Depends on rust-lang#53116.
Configuration menu - View commit details
-
Copy full SHA for c0ee4e7 - Browse repository at this point
Copy the full SHA c0ee4e7View commit details -
Rollup merge of rust-lang#53238 - nrc:update, r=kennytm
Update RLS Should fix RLS toolstate
Configuration menu - View commit details
-
Copy full SHA for aac3c2f - Browse repository at this point
Copy the full SHA aac3c2fView commit details -
Add links to std::char::REPLACEMENT_CHARACTER from docs.
There are a few places where we mention the replacement character in the docs, and it could be helpful for users to utilize the constant which is available in the standard library, so let’s link to it!
Configuration menu - View commit details
-
Copy full SHA for ec18991 - Browse repository at this point
Copy the full SHA ec18991View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0070b46 - Browse repository at this point
Copy the full SHA 0070b46View commit details -
Emit error for pattern arguments in trait methods
The error and check for this already existed, but the parser didn't try to parse trait method arguments as patterns, so the error was never emitted. This surfaces the error, so we get better errors than simple parse errors.
Configuration menu - View commit details
-
Copy full SHA for 90a6954 - Browse repository at this point
Copy the full SHA 90a6954View commit details -
Configuration menu - View commit details
-
Copy full SHA for b05f0be - Browse repository at this point
Copy the full SHA b05f0beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 235905c - Browse repository at this point
Copy the full SHA 235905cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a478cd4 - Browse repository at this point
Copy the full SHA a478cd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c3b49 - Browse repository at this point
Copy the full SHA e4c3b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49e9c5f - Browse repository at this point
Copy the full SHA 49e9c5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c814e2 - Browse repository at this point
Copy the full SHA 5c814e2View commit details
Commits on Aug 12, 2018
-
Rollup merge of rust-lang#53274 - bjorn3:remove_statics_field, r=nagisa
Remove statics field from CodegenCx It doesnt seem to be used anywhere.
Configuration menu - View commit details
-
Copy full SHA for a012abc - Browse repository at this point
Copy the full SHA a012abcView commit details -
Rollup merge of rust-lang#53223 - ljedrz:cleanup_data_structures, r=o…
…li-obk A few cleanups for rustc_data_structures - remove a redundant `clone()` - make some calls to `.iter()` implicit - collapse/simplify a few operations - remove some explicit `return`s - make `SnapshotMap::{commit, rollback_to}` take references - remove unnecessary struct field names - change `transmute()`s in `IdxSet::{from_slice, from_slice_mut}` to casts - remove some unnecessary lifetime annotations - split 2 long literals
Configuration menu - View commit details
-
Copy full SHA for cbcfa2c - Browse repository at this point
Copy the full SHA cbcfa2cView commit details -
Rollup merge of rust-lang#53231 - GuillaumeGomez:let-keyword, r=Quiet…
…Misdreavus Add let keyword doc Part of rust-lang#34601.
Configuration menu - View commit details
-
Copy full SHA for c0f4976 - Browse repository at this point
Copy the full SHA c0f4976View commit details -
Rollup merge of rust-lang#53264 - Havvy:patch-3, r=GuillaumeGomez
Show that Command can be reused and remodified The prior documentation did not make it clear this was possible. I wanted to make the `list_dir` example work on Windows, but I don't know if passing "/" will error or show the root of the current volume (e.g. `C:`).
Configuration menu - View commit details
-
Copy full SHA for 4250f9c - Browse repository at this point
Copy the full SHA 4250f9cView commit details -
Rollup merge of rust-lang#53273 - frewsxcv:frewsxcv-ufffd, r=Guillaum…
…eGomez Add links to std::char::REPLACEMENT_CHARACTER from docs. There are a few places where we mention the replacement character in the docs, and it could be helpful for users to utilize the constant which is available in the standard library, so let’s link to it!
Configuration menu - View commit details
-
Copy full SHA for bc0c0ba - Browse repository at this point
Copy the full SHA bc0c0baView commit details -
Rollup merge of rust-lang#53051 - varkor:trait-method-pattern-argumen…
…ts-error, r=petrochenkov Emit error for pattern arguments in trait methods The error and check for this already existed, but the parser didn't try to parse trait method arguments as patterns, so the error was never emitted. This surfaces the error, so we get better errors than simple parse errors. This improves the error message described in rust-lang#53046.
Configuration menu - View commit details
-
Copy full SHA for 6dd9bcc - Browse repository at this point
Copy the full SHA 6dd9bccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66fd1eb - Browse repository at this point
Copy the full SHA 66fd1ebView commit details -
Rollup merge of rust-lang#53290 - whitequark:fix-35741, r=nagisa
Make LLVM emit assembly comments with -Z asm-comments Fixes rust-lang#35741, and makes `-Z asm-comments` actually do something useful. Before: ``` .section .text.main,"ax",@progbits .globl main .p2align 4, 0x90 .type main,@function main: .cfi_startproc pushq %rax .cfi_def_cfa_offset 16 movslq %edi, %rax leaq _ZN1t4main17he95a7d4f1843730eE(%rip), %rdi movq %rsi, (%rsp) movq %rax, %rsi movq (%rsp), %rdx callq _ZN3std2rt10lang_start17h3121da83b2bc3697E movl %eax, %ecx movl %ecx, %eax popq %rcx .cfi_def_cfa_offset 8 retq .Lfunc_end8: .size main, .Lfunc_end8-main .cfi_endproc ``` After: ``` .section .text.main,"ax",@progbits .globl main # -- Begin function main .p2align 4, 0x90 .type main,@function main: # @main .cfi_startproc pushq %rax .cfi_def_cfa_offset 16 movslq %edi, %rax leaq _ZN1t4main17he95a7d4f1843730eE(%rip), %rdi movq %rsi, (%rsp) # 8-byte Spill movq %rax, %rsi movq (%rsp), %rdx # 8-byte Reload callq _ZN3std2rt10lang_start17h3121da83b2bc3697E movl %eax, %ecx movl %ecx, %eax popq %rcx .cfi_def_cfa_offset 8 retq .Lfunc_end8: .size main, .Lfunc_end8-main .cfi_endproc # -- End function ```
Configuration menu - View commit details
-
Copy full SHA for 16210e8 - Browse repository at this point
Copy the full SHA 16210e8View commit details -
Rollup merge of rust-lang#53267 - GuillaumeGomez:fix-styles, r=QuietM…
…isdreavus Fix styles Fixes rust-lang#53262.
Configuration menu - View commit details
-
Copy full SHA for e330088 - Browse repository at this point
Copy the full SHA e330088View commit details