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 #58016

Merged
merged 36 commits into from
Jan 31, 2019
Merged

Rollup of 12 pull requests #58016

merged 36 commits into from
Jan 31, 2019

Commits on Dec 26, 2018

  1. mark str::string::String.trim.* functions as #[must_use].

    The functions return a reference to a new object and do not modify in-place
    as the following code shows:
    ````
    let s = String::from("   hello   ");
    s.trim();
    assert_eq!(s, "   hello   ");
    ````
    
    The new reference should be bound to a variable as now indicated by #[must_use].
    matthiaskrgr committed Dec 26, 2018
    Configuration menu
    Copy the full SHA
    809a1a8 View commit details
    Browse the repository at this point in the history
  2. Update src/libcore/str/mod.rs, tweak must_use message

    trimmed string is returned as a slice instead of a new allocation
    
    Co-Authored-By: matthiaskrgr <matthias.krueger@famsik.de>
    zackmdavis and matthiaskrgr committed Dec 26, 2018
    Configuration menu
    Copy the full SHA
    e7ce868 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74e9057 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2019

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

Commits on Jan 28, 2019

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

Commits on Jan 29, 2019

  1. SGX target: improve panic & exit handling

    Jethro Beekman committed Jan 29, 2019
    Configuration menu
    Copy the full SHA
    a75ae00 View commit details
    Browse the repository at this point in the history
  2. Add link to the edition guide.

    Siddhartha Sahu committed Jan 29, 2019
    Configuration menu
    Copy the full SHA
    84a89aa View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2019

  1. Configuration menu
    Copy the full SHA
    62867b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cfb05f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bc528d9 View commit details
    Browse the repository at this point in the history
  4. Make priroda happy again

    oli-obk committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    154c54c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4165c89 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ab708f5 View commit details
    Browse the repository at this point in the history
  7. Indent fixup

    oli-obk committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    7017927 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4e0af1f View commit details
    Browse the repository at this point in the history
  9. Eliminate an unwrap

    oli-obk committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    5aa713e View commit details
    Browse the repository at this point in the history
  10. Add MOVBE feature

    Jethro Beekman committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    a3f0af2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a7a5cb6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    765fa81 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4a3caca View commit details
    Browse the repository at this point in the history
  14. Improve bug message in check_ty

    This branch was hit in Clippy and I think it would be nice to
    show the thing that was unexpected in the bug message.
    
    It's also in line with the other `bug!` messages in `check_ty`.
    phansch committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    037fdb8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8c26c59 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    74675fe View commit details
    Browse the repository at this point in the history
  17. Pass correct arguments to places_conflict

    The borrow place *must* be a place that we track borrows for, otherwise
    we will likely ICE.
    matthewjasper committed Jan 30, 2019
    Configuration menu
    Copy the full SHA
    6fe370c View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2019

  1. Rollup merge of rust-lang#57008 - Knium:misleading-try-adding-parenth…

    …eses-in-match-with-comma, r=oli-obk
    
    suggest `|` when `,` founds in invalid match value
    
    Issue rust-lang#54807
    I get stuck on (what | how) I should implement...
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    ab844da View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#57106 - matthiaskrgr:trim_must_use, r=sfackler

    Mark str::trim.* functions as #[must_use].
    
    The functions return a reference to a new object and do not modify in-place
    as the following code shows:
    ````
    let s = String::from("   hello   ");
    s.trim();
    assert_eq!(s, "   hello   ");
    ````
    
    The new reference should be bound to a variable as now indicated by #[must_use].
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    7ebb0a8 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#57920 - euclio:source-date-epoch, r=Mark-Si…

    …mulacrum
    
    use `SOURCE_DATE_EPOCH` for man page time if set
    
    Fixes rust-lang#57776.
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    0134656 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#57934 - dwijnand:from-Arc/Rc-to-NonNull, r=…

    …alexcrichton
    
    Introduce into_raw_non_null on Rc and Arc
    
    None
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    e8173a6 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#57971 - jethrogb:jb/sgx-panic, r=alexcrichton

    SGX target: improve panic & exit handling
    
    Implement this part of the spec:
    
    > The enclave must not rely on userspace to terminate other threads still running. Similarly, the enclave must not trust that it will no longer be entered by userspace, and it must safeguard against that in the entrypoints.
    
    Also use `UserRef` to access panic buffer
    
    r? @alexcrichton
    
    cc @VardhanThigle
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    fb7721a View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#57980 - siddharthasahu:patch-1, r=QuietMisd…

    …reavus
    
    Add the edition guide to the bookshelf
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    9b3aedf View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#57984 - phansch:improve_check_ty_error, r=z…

    …ackmdavis
    
    Improve bug message in check_ty
    
    This branch was hit in Clippy and I think it would be nice to
    show the thing that was unexpected in the bug message.
    
    It's also in line with the other `bug!` messages in `check_ty`.
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    dfc8ff5 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#57999 - jethrogb:jb/movbe-feature, r=alexcr…

    …ichton
    
    Add MOVBE x86 CPU feature
    
    I have no idea if this is correct. I basically copied the ADX feature. I verified the feature is also called `movbe` in LLVM.
    
    I marked this to become stable immediately, as part of the RFC 2045.
    
    r? @alexcrichton
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    bb91a19 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    880f633 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#58005 - vitiral:docs_trim_start_matches, r=…

    …Manishearth
    
    update docs for fix_start/end_matches
    
    fixes rust-lang#57686:
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    c76456c View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#58007 - estebank:issue-58006, r=petrochenkov

    Don't panic when accessing enum variant ctor using `Self` in match
    
    Fix rust-lang#58006.
    
    r? @petrochenkov
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    bc7be96 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#58008 - matthewjasper:places-conflict-args,…

    … r=oli-obk
    
    Pass correct arguments to places_conflict
    
    The borrow place *must* be a place that we track borrows for, otherwise
    we will likely ICE.
    
    Closes rust-lang#57989
    Centril committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    877dee7 View commit details
    Browse the repository at this point in the history