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 16 pull requests #53662

Merged
merged 43 commits into from
Aug 24, 2018
Merged

Rollup of 16 pull requests #53662

merged 43 commits into from
Aug 24, 2018

Commits on Jul 20, 2018

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

Commits on Aug 10, 2018

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

Commits on Aug 13, 2018

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

Commits on Aug 14, 2018

  1. fixed wording

    RalfJung committed Aug 14, 2018
    Configuration menu
    Copy the full SHA
    b7a49e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Configuration menu
    Copy the full SHA
    00b2606 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81684bf View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2018

  1. Fixes for code review.

    FelixMcFelix committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    54b096a View commit details
    Browse the repository at this point in the history
  2. Further fixes.

    FelixMcFelix committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    3536359 View commit details
    Browse the repository at this point in the history
  3. add macro check for lint

    Dylan-DPC committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    17eb64a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a6201f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2018

  1. docs: std::string::String.repeat(): slightly rephrase to be more in-l…

    …ine with other descriptions.
    
    add ticks around a few keywords in other descriptions.
    matthiaskrgr committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    11f3918 View commit details
    Browse the repository at this point in the history
  2. Update RELEASES.md

    Aaronepower authored Aug 22, 2018
    Configuration menu
    Copy the full SHA
    f07245c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9c4f5e View commit details
    Browse the repository at this point in the history
  4. update nomicon and book

    RalfJung committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    276253e View commit details
    Browse the repository at this point in the history
  5. Update RELEASES.md

    Aaronepower authored Aug 22, 2018
    Configuration menu
    Copy the full SHA
    200c6d9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8fbcb9c View commit details
    Browse the repository at this point in the history
  7. tidy: Stop requiring a license header

    Previously approved in rust-lang#43498 ; update tidy to match.
    joshtriplett committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    a15b617 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b188c2a View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2018

  1. Configuration menu
    Copy the full SHA
    ede1f7d View commit details
    Browse the repository at this point in the history
  2. Light restructuring.

    FelixMcFelix committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    85a05d1 View commit details
    Browse the repository at this point in the history
  3. Prefer .nth(n) over .skip(n).next().

    Found by clippy.
    frewsxcv committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    9e0ff24 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7709b3 View commit details
    Browse the repository at this point in the history
  5. fix testcase

    Dylan-DPC committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    747722e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2cc2e01 View commit details
    Browse the repository at this point in the history
  7. Use SmallVec for SmallCStr

    llogiq committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    25a83e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2018

  1. Rollup merge of rust-lang#53311 - RalfJung:windows-mutex, r=retep998

    Window Mutex: Document that we properly initialize the SRWLock
    
    See rust-lang#35836
    kennytm authored Aug 24, 2018
    Configuration menu
    Copy the full SHA
    ab5a71b View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#53503 - kornelski:master, r=dtolnay

    Discourage overuse of mem::forget
    
    Some uses of `mem::forget` have been replaced by better methods of `Box`, so I've removed obsoleted use-cases from these docs.
    
    I've removed emphasis on leaking, because it's not obvious `mem::forget` does not guarantee leaking of memory: memory of stack-allocated objects and values partially moved out of `Box` will still be freed. That's a potential error when used to pass objects to FFI, so it's better to direct users to `Box::into_raw` instead.
    kennytm authored Aug 24, 2018
    Configuration menu
    Copy the full SHA
    973428d View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#53559 - Dylan-DPC:fix/missing-doc-lint, r=k…

    …ennytm
    
    add macro check for lint
    
    Fixes rust-lang#53537
    kennytm authored Aug 24, 2018
    Configuration menu
    Copy the full SHA
    7f396ba View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#53562 - varkor:bastion-of-the-turbofish, r=…

    …nagisa
    
    Lament the invincibility of the Turbofish
    
    Here a test case is added to ensure that any others attempting to drive the Turbofish to extinction have second thoughts. Previously the [entire test suite would succeed](rust-lang#53511) if generic arguments were accepted without disambiguation, making for [confusing and heartbreaking circumstances](rust-lang/rfcs#2527).
    kennytm authored Aug 24, 2018
    Configuration menu
    Copy the full SHA
    714e5b3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#53563 - matthiaskrgr:String, r=varkor

    use String::new() instead of String::from(""), "".to_string(), "".to_owned() or "".into()
    kennytm authored Aug 24, 2018
    Configuration menu
    Copy the full SHA
    d13c612 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b24a30e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c802be6 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#53592 - matthiaskrgr:str_doc, r=alexcrichton

    docs: minor stylistic changes to str/string docs
    
    std::string::String.repeat(): slightly rephrase to be more in-line with other descriptions.
    
    add ticks around a few keywords in other descriptions.
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    c51903c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3fbd72e View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#53600 - varkor:expected-generic-arg-s, r=eddyb

    Fix a grammatical mistake in "expected generic arguments" errors
    
    r? @eddyb
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    7d990fa View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#53614 - RalfJung:nomicon, r=kennytm

    update nomicon and book
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    ff4500c View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#53617 - joshtriplett:tidy-no-license-header…

    …, r=Mark-Simulacrum
    
    tidy: Stop requiring a license header
    
    Previously approved in rust-lang#43498 ; update tidy to match.
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    cf90fd0 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#53618 - GuillaumeGomez:fmt-examples, r=Quie…

    …tMisdreavus
    
    Add missing fmt examples
    
    r? @QuietMisdreavus
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    a37b69d View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#53636 - frewsxcv:frewsxcv-nth, r=rkruppe

    Prefer `.nth(n)` over `.skip(n).next()`.
    
    Found by clippy.
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    9dfb95b View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#53644 - llogiq:smallvec-for-small-c-str, r=…

    …estebank
    
    Use SmallVec for SmallCStr
    
    This reuses the awesome optimizations from Servo's `SmallVec` to speed up `SmallCStr`.
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    0009fad View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#53664 - IsaacWoods:fix_53608, r=oli-obk

    Remove unnecessary closure in rustc_mir/build/mod.rs
    
    Fixes rust-lang#53608
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    62f29c4 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#53545 - FelixMcFelix:fix-50865-beta, r=petr…

    …ochenkov
    
    Fix rust-lang#50865: ICE on impl-trait returning functions reaching private items
    
    Adds a test case as suggested in rust-lang#50865, and implements @petrochenkov's suggestion. Fixes rust-lang#50865.
    
    Impl-trait-returning functions are marked under a new (low) access level, which they propagate rather than `AccessLevels::Reachable`. `AccessLevels::is_reachable` returns false for such items (leaving stability analysis unaffected), these items may still be visible to the lints phase however.
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    a1ec2f7 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#53666 - davidtwco:issue-51737, r=Mark-Simul…

    …acrum
    
    Added rustc_codegen_llvm to compiler documentation.
    
    Fixes rust-lang#51737.
    kennytm committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    c6039de View commit details
    Browse the repository at this point in the history