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 12 pull requests #72187

Merged
merged 38 commits into from
May 14, 2020
Merged

Rollup of 12 pull requests #72187

merged 38 commits into from
May 14, 2020

Commits on Apr 25, 2020

  1. Make prefix immutable

    ldm0 committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    079817d View commit details
    Browse the repository at this point in the history

Commits on May 4, 2020

  1. Rephrase the any::type_name docs a bit.

    This attempts to be a little clearer (including in terminology) about the lack
    of guarantees that any::type_name provides.
    ltratt committed May 4, 2020
    Configuration menu
    Copy the full SHA
    c9f1162 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93f877c View commit details
    Browse the repository at this point in the history
  3. Fix typo.

    ltratt committed May 4, 2020
    Configuration menu
    Copy the full SHA
    876001c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5cb2fa4 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2020

  1. Fix comment position

    Dolpheyn committed May 5, 2020
    Configuration menu
    Copy the full SHA
    73f07a4 View commit details
    Browse the repository at this point in the history
  2. Fix example

    Dolpheyn committed May 5, 2020
    Configuration menu
    Copy the full SHA
    2badd41 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2020

  1. Fix link to map documentation in example

    Co-authored-by: Timo <timorcb@gmail.com>
    Dolpheyn and timotree3 committed May 10, 2020
    Configuration menu
    Copy the full SHA
    d80ac64 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Configuration menu
    Copy the full SHA
    41f6b95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fccdb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61fbe57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5063297 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    34b2072 View commit details
    Browse the repository at this point in the history
  6. Map to -> return.

    ltratt committed May 12, 2020
    Configuration menu
    Copy the full SHA
    003ed80 View commit details
    Browse the repository at this point in the history
  7. Update books

    ehuss committed May 12, 2020
    Configuration menu
    Copy the full SHA
    722b3df View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Configuration menu
    Copy the full SHA
    bb2ff59 View commit details
    Browse the repository at this point in the history
  2. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    46e9cbe View commit details
    Browse the repository at this point in the history
  3. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    4588c26 View commit details
    Browse the repository at this point in the history
  4. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    a9e7d57 View commit details
    Browse the repository at this point in the history
  5. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    644bb24 View commit details
    Browse the repository at this point in the history
  6. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    adc2bf0 View commit details
    Browse the repository at this point in the history
  7. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    f445a82 View commit details
    Browse the repository at this point in the history
  8. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    ef1688d View commit details
    Browse the repository at this point in the history
  9. Update src/libcore/option.rs

    Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
    Dolpheyn and steveklabnik committed May 13, 2020
    Configuration menu
    Copy the full SHA
    6c3856f View commit details
    Browse the repository at this point in the history
  10. docs: fix link

    tshepang committed May 13, 2020
    Configuration menu
    Copy the full SHA
    e44f87f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dab3a58 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2020

  1. Rollup merge of rust-lang#71525 - ldm0:intosug, r=Mark-Simulacrum

    `prefix` should not be mutable.
    
    Change the process from for loop to find, which makes the `prefix` able to be immutable.
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    32ea6a1 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#71741 - RalfJung:pointer-print, r=oli-obk

    Pointer printing: do not print 0 offset
    
    r? @eddyb Cc @oli-obk
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    7893d9a View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#71870 - ltratt:more_specific_type_name_doc,…

    … r=kennytm
    
    Be slightly more precise about any::type_name()'s guarantees.
    
    The first commit in this PR rephrases the current documentation for `any::type_name()` to be a little more specific about the guarantees (or lack thereof) that this function makes. The second commit explicitly documents that lifetimes are currently not included in the output (since this bit me particularly hard recently).
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    720ec68 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#71909 - Dolpheyn:doc-from-trait-for-option,…

    … r=steveklabnik
    
    Document From trait for Option implementations
    
    Add documentation for ```From``` trait for ```std::option::Option``` implementations
    
    This PR solves a part of rust-lang#51430 ( CC @skade )
    
    This is my first PR ever in contributing for OSS. I'm happy to learn and make any changes if necessary :)
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    a6c1f61 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#71964 - jcotton42:bootstrap_decode_none_win…

    …dows, r=Mark-Simulacrum
    
    Fix bootstrap failing on win32
    
    ```powershell
    python x.py -h # or really any x.py command
    ```
    would fail with
    ```
    info: Downloading and building bootstrap before processing --help
          command. See src/bootstrap/README.md for help with common
          commands.
    Updating only changed submodules
    Submodules updated in 0.15 seconds
    Traceback (most recent call last):
      File "x.py", line 11, in <module>
        bootstrap.main()
      File "C:\Users\Joshua\Projects\forks\rust\src\bootstrap\bootstrap.py", line 960, in main
        bootstrap(help_triggered)
      File "C:\Users\Joshua\Projects\forks\rust\src\bootstrap\bootstrap.py", line 925, in bootstrap
        build.build = args.build or build.build_triple()
      File "C:\Users\Joshua\Projects\forks\rust\src\bootstrap\bootstrap.py", line 731, in build_triple
        return default_build_triple()
      File "C:\Users\Joshua\Projects\forks\rust\src\bootstrap\bootstrap.py", line 184, in default_build_triple
        ostype = require(["uname", "-s"], exit=required).decode(default_encoding)
    AttributeError: 'NoneType' object has no attribute 'decode'
    ```
    
    This PR defers the `decode` call until after we're sure `ostype` and `cputype` are not `None`, as they would be on Windows since `uname` doesn't exist
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    577da45 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#72137 - GuillaumeGomez:cleanup-e0581, r=Dyl…

    …an-DPC
    
    Clean up E0581 explanation
    
    r? @Dylan-DPC
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    0b8b38c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#72138 - wesleywiser:add_doc_comment, r=matt…

    …hewjasper
    
    Add doc comment for `rustc_middle::mir::mono::Linkage`
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    18d7c34 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#72150 - jackh726:unnorm_projection, r=nikom…

    …atsakis
    
    Remove UnnormalizedProjection
    
    This was only used for the old chalk integration with chalk-engine
    
    r? @nikomatsakis
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    e5f31e0 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#72151 - ehuss:update-books, r=ehuss

    Update books
    
    ## book
    
    2 commits in e37c0e84e2ef73d3a4ebffda8011db6814a3b02d..6247be15a7f7509559f7981ee2209b9e0cc121df
    2020-04-26 09:31:36 -0500 to 2020-05-03 10:55:09 -0500
    - Fix guessing game listing explanation (rust-lang/book#2321)
    - Update ch01-01-installation.md (rust-lang/book#2325)
    
    ## edition-guide
    
    1 commits in 8204c1d123472cd17f0c1c5c77300ae802eb0271..49270740c7a4bff2763e6bc730b191d45b7d5167
    2020-04-09 18:55:50 -0700 to 2020-05-11 08:50:29 -0500
    - Use rust-lang/rust linkchecker on CI. (rust-lang/edition-guide#197)
    
    ## embedded-book
    
    1 commits in 40beccdf1bb8eb9184a2e3b42db8b8c6e394247f..366c50a03bed928589771eba8a6f18e0c0c01d23
    2020-04-26 17:44:14 +0000 to 2020-05-07 09:04:42 +0000
    - Add HAL patterns/guidelines/recommendations  (rust-embedded/book#235)
    
    ## nomicon
    
    3 commits in 4d2d275997746d35eabfc4d992dfbdcce2f626ed..d1517d4e3f29264c5c67bce2658516bb5202c800
    2020-04-27 10:24:52 -0400 to 2020-05-12 13:47:00 -0400
    - Rename Unique::empty to Unique::dangling
    - Use simpler link syntax
    - Replace catch_panic by catch_unwind
    
    ## reference
    
    3 commits in ed22e6fbfcb6ce436e9ea3b4bb4a55b2fb50a57e..892b928b565e35d25b6f9c47faee03b94bc41489
    2020-04-24 12:46:22 -0700 to 2020-05-11 11:13:51 -0700
    - clarify that str data must still be initialized
    - remove language-level UB for non-UTF-8 str
    - Replace incorrect term "parent modules" with "ancestor modules". (rust-lang/reference#806)
    
    ## rust-by-example
    
    2 commits in ffc99581689fe2455908aaef5f5cf50dd03bb8f5..ab072b14393cbd9e8a1d1d75879bf51e27217bbb
    2020-04-24 15:05:04 -0300 to 2020-05-09 08:46:39 -0300
    - Fix link of formatting traits (rust-lang/rust-by-example#1346)
    - Remove stale footnote (rust-lang/rust-by-example#1345)
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    39f91b1 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#72163 - tshepang:nonexistent-link, r=matthe…

    …wjasper
    
    docs: remove comment referencing non-existent method
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    71f460b View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#72169 - GuillaumeGomez:cleanup-e0582, r=Dyl…

    …an-DPC
    
    Clean up E0582 explanation
    
    r? @Dylan-DPC
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    864eae7 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#72183 - tmiasko:decr-strong-count, r=Mark-S…

    …imulacrum
    
    Fix Arc::decr_strong_count doc test
    RalfJung committed May 14, 2020
    Configuration menu
    Copy the full SHA
    56986be View commit details
    Browse the repository at this point in the history