Skip to content
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 22 pull requests #59364

Closed
wants to merge 81 commits into from

Commits on Mar 10, 2019

  1. Configuration menu
    Copy the full SHA
    7e1914f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    401329e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa53741 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9151eab View commit details
    Browse the repository at this point in the history
  5. hir: remove trait_auto_impl

    ljedrz committed Mar 10, 2019
    Configuration menu
    Copy the full SHA
    584d61a View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

  1. Configuration menu
    Copy the full SHA
    18229bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79c3651 View commit details
    Browse the repository at this point in the history
  3. Address review comments

    petrochenkov committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    1ab8ca3 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2019

  1. Configuration menu
    Copy the full SHA
    856b081 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2019

  1. Configuration menu
    Copy the full SHA
    ff5e31f View commit details
    Browse the repository at this point in the history
  2. Remove trailing newlines

    varkor committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    6e449da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    205ab0c View commit details
    Browse the repository at this point in the history
  4. Add links to @rust-highfive and @bors

    varkor committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    6f3fda9 View commit details
    Browse the repository at this point in the history
  5. Update r+ syntax

    varkor committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    eadb844 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    308a002 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3a00649 View commit details
    Browse the repository at this point in the history
  8. Fix capitalisation problem

    varkor committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    037596c View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2019

  1. Configuration menu
    Copy the full SHA
    b392c5e View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2019

  1. Tweak spans for E0599

    estebank committed Mar 17, 2019
    Configuration menu
    Copy the full SHA
    498bead View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    713f96d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    690bc57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18d727f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb15af1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b616cca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    743d019 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b53ca90 View commit details
    Browse the repository at this point in the history
  9. Fix rebase

    estebank committed Mar 17, 2019
    Configuration menu
    Copy the full SHA
    d1656f1 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. Do not complain about non-existing fields after parse recovery

    When failing to parse struct-like enum variants, the ADT gets recorded
    as having no fields. Record that we have actually recovered during
    parsing of this variant to avoid complaing about non-existing fields
    when actually using it.
    estebank committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    6007e6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb832c2 View commit details
    Browse the repository at this point in the history
  3. Rename typarams to param_names

    Co-Authored-By: Gabriel Smith <[email protected]>
    varkor and yodaldevoid committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    ec6f983 View commit details
    Browse the repository at this point in the history
  4. Rename external_typarams to external_param_names

    Co-Authored-By: Gabriel Smith <[email protected]>
    varkor and yodaldevoid committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    c915fe0 View commit details
    Browse the repository at this point in the history
  5. Implement Clean for const generics

    Co-Authored-By: Gabriel Smith <[email protected]>
    varkor and yodaldevoid committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    1491315 View commit details
    Browse the repository at this point in the history
  6. Add GenericArg

    Co-Authored-By: Gabriel Smith <[email protected]>
    varkor and yodaldevoid committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    29ed491 View commit details
    Browse the repository at this point in the history
  7. Refactor GenericArgs to include const generics

    Co-Authored-By: Gabriel Smith <[email protected]>
    varkor and yodaldevoid committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    cd9a2c0 View commit details
    Browse the repository at this point in the history
  8. Implement const generics in generics_to_path_params

    Co-Authored-By: Gabriel Smith <[email protected]>
    varkor and yodaldevoid committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    38d98a1 View commit details
    Browse the repository at this point in the history
  9. Fix indentation issue

    varkor committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    9925d9b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b39e664 View commit details
    Browse the repository at this point in the history
  11. Rename first_ty_sty to ty_sty

    varkor committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    f93ad41 View commit details
    Browse the repository at this point in the history
  12. Rebase over LazyConst changes

    varkor committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    9bc5811 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2019

  1. Update src/librustc/hir/mod.rs

    Co-Authored-By: llogiq <[email protected]>
    Centril and llogiq authored Mar 19, 2019
    Configuration menu
    Copy the full SHA
    37789c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cf720b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a291d4e View commit details
    Browse the repository at this point in the history
  4. review comments

    estebank committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    757eb67 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2019

  1. Configuration menu
    Copy the full SHA
    46a8beb View commit details
    Browse the repository at this point in the history
  2. Add messages for different verbosity levels.

    Output copy actions
    o01eg committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    b6e5d73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1d9191 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8120d6 View commit details
    Browse the repository at this point in the history
  5. Add NAN test to docs

    Xaeroxe committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    2f8d9a2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e2b5a03 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    295cc77 View commit details
    Browse the repository at this point in the history
  8. Fix f64 test

    Xaeroxe committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    72f5d91 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2019

  1. Fix undefined behavior in hint::spin_loop for x86 targets without SSE2

    The pause instruction requires SSE2 but was being unconditionally used
    on targets without it, resulting in undefined behavior.
    
    This PR fixes that by only using the pause intrinsic if SSE2 is available.
    
    It also removes the inline assembly which was not required since these
    instructions are available in core::arch, and extends support of
    the spin_loop hint to arm targets with the v6 feature which also
    support the yield instruction.
    
    Closes rust-lang#59237 .
    gnzlbg committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    830c98d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16a8abe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de021e3 View commit details
    Browse the repository at this point in the history
  4. Update cargo

    MikaelUrankar committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    6b766ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6389478 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2019

  1. Configuration menu
    Copy the full SHA
    c97d3d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48af718 View commit details
    Browse the repository at this point in the history
  3. Expand impl FromIterator for Result doc to include examples of `Err…

    …` and early termination.
    pnkfelix committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    d5a61c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c53011 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#59058 - petrochenkov:assocrecov3, r=estebank

     syntax: Better recovery for `$ty::AssocItem` and `ty!()::AssocItem`
    
    This PR improves on rust-lang#46788 covering a few missing cases.
    
    Fixes rust-lang#52307
    Fixes rust-lang#53776
    r? @estebank
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    1f2ba0d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59068 - ljedrz:kill_off_NodeId_stragglers, …

    …r=Zoxc
    
    HirIdification: kill off NodeId stragglers
    
    The final stages of HirIdification (rust-lang#57578).
    
    This PR, along with rust-lang#59042, should finalize the HirIdification process (at least the more straightforward bits).
    
    - replace `NodeId` with `HirId` in `trait_impls`
    - remove all `NodeId`s from `borrowck`
    - remove all `NodeId`s from `typeck`
    - remove all `NodeId`s from `mir`
    - remove `trait_auto_impl` (unused)
    
    I would be cool to also remove `NodeId` from `hir::def::Def`, `middle::privacy::AccessLevel`  and `hir::ItemId`, but I don't know if this is feasible.
    
    I'll be happy to do more if I've missed anything.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    b76fa33 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#59084 - estebank:diagnostic-spans, r=davidtwco

    Tweak some diagnostic spans
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    ae89abd View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#59096 - ljedrz:HirIdify_AccessLevel, r=Zoxc

    middle: replace NodeId with HirId in AccessLevels
    
    Pushing the limits of HirIdification (rust-lang#57578).
    
    Replaces `NodeId` with `HirId` in `middle::privacy::AccessLevels`. Actually this time I was more successful and cracked it; I probably tried to HirIdify too much at once when I attempted it last time ^^.
    
    r? @Zoxc
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    dbe70a3 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#59170 - varkor:const-generics-rustdoc, r=Qu…

    …ietMisdreavus,eddyb
    
    Add const generics to rustdoc
    
    Split out from rust-lang#53645. This work is a collaborative effort with @yodaldevoid.
    
    The `FIXME`s are waiting on a refactor to `LazyConst`. I'll address these in a follow up, but I thought it would be better to implement the rest now to avoid bitrot.
    
    r? @QuietMisdreavus
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    69a69bc View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#59172 - varkor:contributing-contributions, …

    …r=steveklabnik
    
    Update and clean up several parts of CONTRIBUTING.md
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    c9f6316 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#59239 - gnzlbg:fix_spin_loop, r=nagisa

    Remove inline assembly from hint::spin_loop
    
    This PR removes the inline assembly which was not required since these
    instructions are available in core::arch, and extends support of
    the spin_loop hint to arm targets with the v6 feature which also
    support the yield instruction.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    8f170fe View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#59240 - euclio:struct-field-span, r=oli-obk

    use the identifier span for missing struct field
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    20211eb View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#59266 - estebank:struct-parse-recovery, r=p…

    …etrochenkov
    
    Do not complain about non-existing fields after parse recovery
    
    When failing to parse struct-like enum variants, the ADT gets recorded
    as having no fields. Record that we have actually recovered during
    parsing of this variant to avoid complaing about non-existing fields
    when actually using it.
    
    Fix rust-lang#57361.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    4103238 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#59273 - llogiq:hir-docs, r=matthewjasper

    some small HIR doc improvements
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    bd6a70d View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#59291 - SimonSapin:nonzero-thread-id, r=ale…

    …xcrichton
    
    Make Option<ThreadId> no larger than ThreadId, with NonZeroU64
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    2a5c042 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#59297 - euclio:field-method-suggestions, r=…

    …estebank
    
    convert field/method confusion help to suggestions
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    fc1a533 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#59304 - gnzlbg:bench_tests, r=alexcrichton

    Move some bench tests back from libtest
    
    It doesn't make much sense to test these on rust-lang/libtest since they exercise the `#[bench]` macro which is part of rust-lang/rust.
    
    This PR moves these tests back here.
    
    r? @alexcrichton
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    3da4970 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#59309 - o01eg:verbose-copy-files, r=alexcri…

    …chton
    
    Add messages for different verbosity levels. Output copy actions.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    e90bf70 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#59322 - estebank:diag-tweak, r=davidtwco

    Tweak incorrect escaped char diagnostic
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    0d456f4 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#59323 - euclio:enum-instead-of-variant, r=v…

    …arkor
    
    use suggestions for "enum instead of variant" error
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    5fa6896 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#59327 - Xaeroxe:clamp-doc, r=scottmcm

    Add NAN test to docs
    
    Documents and tests NAN behavior for the new (f32, f64)::clamp function.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    ff929e5 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#59329 - petrochenkov:rmcff, r=alexcrichton

    cleanup: Remove compile-fail-fulldeps directory again
    
    It was already removed once in rust-lang#56444, but was partially resurrected by rebase of some other PR.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    ad30404 View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#59347 - petrochenkov:nomake, r=davidtwco

    Move one test from run-make-fulldeps to ui
    
    The test was written when `--extern` without path didn't exist.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    b5424a0 View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#59360 - LukasKalbertodt:patch-2, r=rkruppe

    Add tracking issue number for `seek_convenience`
    
    We forgot to do that in rust-lang#58422
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    ab4c5b3 View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#59362 - pnkfelix:demo-from-iterator-short-c…

    …ircuiting, r=Centril
    
    Demo `FromIterator` short-circuiting
    
    while looking at a FIXME in `FromIterator for Option` and `FromIterator for Result`, I realized that the current documentation does not have example code showing exactly what is meant by "no further elements are taken."
    
    The code snippets provided here are meant to correct that.
    Mark-Simulacrum authored Mar 22, 2019
    Configuration menu
    Copy the full SHA
    f90f0b3 View commit details
    Browse the repository at this point in the history