Commits
hurd
Name already in use
Commits on Dec 23, 2017
-
-
-
Auto merge of rust-lang#46864 - estebank:closure-type-err-sp, r=nikom…
…atsakis Closure type error ui tweak Do not point at the same span on all notes/help messages, and instead show them without a span.
-
Auto merge of rust-lang#46857 - estebank:use-loop-sp, r=nikomatsakis
Point at `while true` span instead of entire block
Commits on Dec 22, 2017
-
Auto merge of rust-lang#46842 - michaelwoerister:fingerprint-vec, r=n…
…ikomatsakis incr.comp.: Use an array instead of a hashmap for storing result hashes. Doing so should result in some of the core tracking components being faster. r? @nikomatsakis
-
Auto merge of rust-lang#46838 - pnkfelix:issue-46112-followup, r=este…
…bank Followup for rust-lang#46112. Sorting by crate-num should ensure that we favor `std::foo::bar` over `any_other_crate::foo::bar`. Interestingly, *this* change had a much larger impact on our internal test suite than PR rust-lang#46708 (which was my original fix to rust-lang#46112).
-
Auto merge of rust-lang#46779 - Zoxc:par-merge-without-sync, r=arielb1
Work towards thread safety in rustc This PR is split out from rust-lang#45912. It contains changes which do not require the `sync` module.
-
Auto merge of rust-lang#46752 - Yoric:nll, r=arielb1
Issue rust-lang#46589 - Kill borrows on a local variable whenever we assign ov… …er this variable This is a first patch for the issue, handling the simple case while I figure out the data structures involved in the more complex cases.
-
Auto merge of rust-lang#46732 - estebank:silence-recovered-blocks, r=…
…petrochenkov Do not emit type errors on recovered blocks When a parse error occurs on a block, the parser will recover and create a block with the statements collected until that point. Now a flag stating that a recovery has been performed in this block is propagated so that the type checker knows that the type of the block (which will be identified as `()`) shouldn't be checked against the expectation to reduce the amount of irrelevant diagnostic errors shown to the user. Fix rust-lang#44579.
Commits on Dec 21, 2017
-
-
Auto merge of rust-lang#46922 - kennytm:rollup, r=kennytm
Rollup of 14 pull requests - Successful merges: rust-lang#46636, rust-lang#46780, rust-lang#46784, rust-lang#46809, rust-lang#46814, rust-lang#46820, rust-lang#46839, rust-lang#46847, rust-lang#46858, rust-lang#46878, rust-lang#46884, rust-lang#46890, rust-lang#46898, rust-lang#46918 - Failed merges:
-
Do not emit type errors on recovered blocks
When a parse error occurs on a block, the parser will recover and create a block with the statements collected until that point. Now a flag stating that a recovery has been performed in this block is propagated so that the type checker knows that the type of the block (which will be identified as `()`) shouldn't be checked against the expectation to reduce the amount of irrelevant diagnostic errors shown to the user.
-
Rollup merge of rust-lang#46918 - alexcrichton:fix-ordering, r=michae…
…lwoerister rustc: Sort CGUs before merging This commit fixes some nondeterminism in compilation when using multiple codegen units. The algorithm for splitting codegen units currently takes the otherwise-would-be-for-incremental partitioning and then continuously merges the two smallest codegen units until the desired number of codegen units are reached. We want to be sure to merge the same codegen units each time a compilation is run but there's some subtle reorderings amongst all the items which was causing this step to be slightly buggy. Notably this step involves sorting codegen units by size, but if two codegen units had the same size they would appear in different locations in the list each time. This commit fixes this issue by sorting codegen units by name before doing the loop to merge the two smallest. This means that we've got a deterministic order going in and since we're using a stable sort this should mean that we're always now getting a deterministic merging of codegen units. Closes rust-lang#46846
-
Auto merge of rust-lang#45930 - jplatte:generics_refactoring, r=eddyb
Generics refactoring (groundwork for const generics) These changes were suggested by @eddyb. After this change, the `Generics` contain one `Vec` of an enum for the generic parameters, rather than two separate `Vec`s for lifetime and type parameters. Type params and const params will need to be in a shared `Vec` to preserve their ordering, and moving lifetimes into the same `Vec` should simplify the code that processes `Generics`.
-
Rollup merge of rust-lang#46898 - tspiteri:int-overflow-not-underflow…
…, r=steveklabnik docs: do not call integer overflows as underflows In the API docs, integer overflow is sometimes called underflow. Underflow is really when the magnitude of a floating-point number is too small so the number underflows to subnormal or zero. With integers it is always overflow, even if the expected result is less than the minimum number that can be represented.
-
Rollup merge of rust-lang#46890 - arielb1:contributing-improvements, …
…r=steveklabnik A few small improvements to the contributing docs r? @steveklabnik
-
Rollup merge of rust-lang#46884 - Manishearth:vec-docs, r=steveklabnik
Clarify vec docs on deallocation (fixes rust-lang#46879) r? @steveklabnik
-
Rollup merge of rust-lang#46878 - malbarbo:fix-armv5te, r=alexcrichton
Update compiler_builtins Fixes rust-lang#46822 (See rust-lang/compiler-builtins#218)
-
Rollup merge of rust-lang#46858 - QuietMisdreavus:external-doc-error,…
… r=estebank tweaks and fixes for doc(include) This PR makes a handful of changes around `#[doc(include="file.md")]` (rust-lang#44732): * Turns errors when loading files into full errors. This matches the original RFC text. * Makes the `missing_docs` lint check for `#[doc(include="file.md")]` as well as regular `#[doc="text"]` attributes. * Loads files included by `#[doc(include="file.md")]` into dep-info, mirroring the behavior of `include_str!()` and friends. * Adds or modifies tests to check for all of these.
-
Rollup merge of rust-lang#46847 - GuillaumeGomez:more-sidebar-escape,…
… r=QuietMisdreavus Escape more items in the sidebar when needed Fixes rust-lang#46724. r? @QuietMisdreavus
-
Rollup merge of rust-lang#46839 - michaelwoerister:faster-span-hashin…
…g-2, r=nikomatsakis incr.comp.: Precompute small hash for filenames to save some work. For each span we hash the filename of the file it points to. Since filenames can be quite long, especially with absolute paths, this PR pre-computes a hash of the filename and we then only hash the hash. r? @nikomatsakis
-
Rollup merge of rust-lang#46820 - nodakai:simplify-int-impl, r=alexcr…
…ichton libcore/num/mod.rs: simplify the int_impl! macro. We can simply use generic intrinsics since cd1848a by @alexcrichton Also, minimize unsafe blocks.
-
Rollup merge of rust-lang#46814 - varkor:contrib-7, r=alexcrichton
Prevent rustc overwriting input files If rustc is invoked on a file that would be overwritten by the compilation, the compilation now fails, to avoid accidental loss. This resolves rust-lang#13019. Kudos to @estebank, whose patch I finished off.
-
Rollup merge of rust-lang#46809 - eddyb:issue-46769-optimal, r=arielb1
rustc: do not raise the alignment of optimized enums to the niche's alignment. This is the improved fix for rust-lang#46769 that does not increase the size of any types (see also rust-lang#46808).
-
Rollup merge of rust-lang#46784 - bjorn3:patch-1, r=pnkfelix
Cleanup for libgraphviz
-
Rollup merge of rust-lang#46780 - varkor:contrib-5, r=arielb1
Fix ICE when calling non-functions within closures The visitor for walking function bodies did not previously properly handle error-cases for function calls. These are now ignored, preventing the panic. This fixes rust-lang#46771.
-
Rollup merge of rust-lang#46636 - frewsxcv:frewsxcv-fn-box, r=estebank
Replace libtest/lib.rs:FnBox with std::boxed::FnBox. Fixes rust-lang#41810.
-
-
-
-
-
-
-