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 20 pull requests #40368

Merged
merged 46 commits into from
Mar 9, 2017
Merged

Rollup of 20 pull requests #40368

merged 46 commits into from
Mar 9, 2017

Commits on Feb 28, 2017

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

Commits on Mar 2, 2017

  1. fix link

    steveklabnik committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    ae2c9d2 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2017

  1. Reduce size overhead of adaptative hashmap

    Exposes a boolean flag in RawTable and use it
    instead of a bool field in HashMap.
    
    Fixes: rust-lang#40042
    arthurprs committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    3273003 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2017

  1. Fix personality_fn within the compiler_builtins

    compiler_builtins may not have any unwinding within it to link correctly. This is notoriously
    finicky, and this small piece of change removes yet another case where personality function
    happens to get introduced.
    
    Side note: I do remember solving the exact same thing before. I wonder why it has reappered...
    nagisa committed Mar 4, 2017
    Configuration menu
    Copy the full SHA
    8f581cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b55f1e5 View commit details
    Browse the repository at this point in the history
  3. remove nomicon

    steveklabnik committed Mar 4, 2017
    Configuration menu
    Copy the full SHA
    5a644f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4369aee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    155ef41 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2017

  1. Add compile-fail test for unwind_attributes

    Test copied from src/test/codegen/extern-functions.rs.
    
    Refs: rust-lang#39059
    gibfahn committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    ea3f148 View commit details
    Browse the repository at this point in the history
  2. Add compile-fail test for cfg_target_thread_local

    Test copied from src/test/run-pass/thread-local-extern-static.rs.
    
    Refs: rust-lang#39059
    gibfahn committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    cee4ef8 View commit details
    Browse the repository at this point in the history
  3. Remove the compile-fail feature gates whitelist

    No longer necessary now that the whitelist is empty.
    
    Fixes: rust-lang#39059
    gibfahn committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    7c88d9e View commit details
    Browse the repository at this point in the history
  4. clarify docs for Args and ArgsOs

    The args() and args_os() docs include a line about how the first element
    is usually the program name. Include that line in the struct docs too.
    oconnor663 committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    03b83a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2017

  1. Configuration menu
    Copy the full SHA
    86bad49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f121e61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e5b380 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89fe4df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    403ae37 View commit details
    Browse the repository at this point in the history
  6. Improve the style of the sidebar in rustdoc output

    Makes the sidebar a light grey and highlights the currently viewed item
    in the sidebar more prominently.
    
    All visual design credit goes to @johnwhelchel (rust-lang#37856)
    wesleywiser committed Mar 6, 2017
    Configuration menu
    Copy the full SHA
    2bb2a29 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2017

  1. Configuration menu
    Copy the full SHA
    7dc36e9 View commit details
    Browse the repository at this point in the history
  2. Fix a typo in the docs

    oli-obk committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    acd8fe8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f283141 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5533d2 View commit details
    Browse the repository at this point in the history
  5. Added remove_from to vec.rs

    madseagames authored and eddyb committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    df61719 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    65ac1e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    025bf95 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f3a2f90 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2017

  1. Rollup merge of rust-lang#40154 - steveklabnik:link-unstable-book, r=…

    …frewsxcv
    
    add unstable book to the bookshelf
    
    r? @frewsxcv @GuillaumeGomez
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    df9a721 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#40222 - steveklabnik:extract-nomicon, r=ale…

    …xcrichton
    
    Extract nomicon to its own repo
    
    part of rust-lang#39588
    
    same as rust-lang#40213 but for the nomicon
    
    r? @alexcrichton
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    7c18194 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#40226 - jdhorwitz:master, r=frewsxcv

    Issue rust-lang#39688 - Help people find String::as_bytes() for UTF-8
    
    Added in links for the inverse functions so people will know that as_bytes() is the inverse of from_utf8() and vice versa.
    ?r @steveklabnik
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    68a5a16 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40237 - arthurprs:hm-adapt2, r=alexcrichton

    Reduce size overhead of adaptative hashmap
    
    Exposes a boolean flag in RawTable and use it instead of a bool field in HashMap.
    
    Taking a bit from capacity or length would make overflow handling tricky.
    
    Fixes: rust-lang#40042
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    2c252ff View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#40254 - nagisa:compiler-builtin-no-panic, r…

    …=alexcrichton
    
    Fix personality_fn within the compiler_builtins
    
    compiler_builtins may not have any unwinding within it to link correctly. This is notoriously
    finicky, and this small piece of change removes yet another case where personality function
    happens to get introduced.
    
    Side note: I do remember solving the exact same thing before. I wonder why it has reappered...
    
    @cuviper, could you please try building beta with this patch applied? It should apply cleanly. If it works, I’ll nominate to land this into beta.
    
    Fixes(?) rust-lang#40251
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    1e53624 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#40258 - est31:master, r=nikomatsakis

    Fix description of closure coercion feature
    
    Thanks to @whitequark for pointing this out.
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    f38e332 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40265 - wesleywiser:rustdoc_style, r=Guilla…

    …umeGomez
    
    Improve the style of the sidebar in rustdoc output
    
    Makes the sidebar a light grey and highlights the currently viewed item in the sidebar more prominently.
    
    All visual design credit goes to @johnwhelchel (rust-lang#37856)
    
    Sample screenshots:
    
    ![screen shot 2017-03-04 at 12 29 48 pm](https://cloud.githubusercontent.com/assets/831192/23580829/db6c26c2-00d6-11e7-8d89-822e25ba79f0.png)
    
    ![screen shot 2017-03-04 at 12 30 10 pm](https://cloud.githubusercontent.com/assets/831192/23580828/db69eeca-00d6-11e7-9f89-1e06fd3bf098.png)
    
    ![screen shot 2017-03-04 at 12 30 31 pm](https://cloud.githubusercontent.com/assets/831192/23580830/db6d00ce-00d6-11e7-89ca-cd03e148a121.png)
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    5694ac9 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40268 - Mark-Simulacrum:normalization-follo…

    …wup, r=arielb1
    
    Fix normalization error
    
    Follows rust-lang#40163. I don't know whether this is good, but seems logical.
    
    [This block of code](https://github.com/rust-lang/rust/blob/ba07bd5d23aced6d4baa5696213b11ca832c1a5d/src/librustc_typeck/check/mod.rs#L2110-L2138) doesn't contain a call to `normalize_associated_types_in`, while [this](https://github.com/rust-lang/rust/blob/master/src/librustc_typeck/check/mod.rs#L2027-L2028) block does, and is nearly identical.
    
    Ideally these two blocks should be unified into one, but since the change doesn't seem trivial and I'm unsure if this patch will be accepted it hasn't been done yet.
    
    r? @arielb1
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    4eb7a33 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#40279 - gibfahn:test-unwind, r=est31

    Add compile-fail tests for remaining items in whitelist and remove it
    
    Add compile-fail tests for `cfg_target_thread_local` and `unwind_attributes`, and remove the whitelist.
    
    Let me know if I should clean up the tests (or if I've done anything else wrong, this is my first contribution to rust).
    
    cc/ @est31
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    006c744 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40283 - oconnor663:args_docs, r=alexcrichton

    clarify docs for Args and ArgsOs
    
    The args() and args_os() docs include a line about how the first element
    is usually the program name. Include that line in the struct docs too.
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    5070403 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#40292 - mmatyas:readme_fix, r=alexcrichton

    Fix text formatting in README
    
    There was a missing backtick in the README.
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    949eafe View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#40293 - malbarbo:rustdoctest, r=alexcrichton

    Remove extra space in test description (of a mod test)
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    d4eb25c View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#40296 - topecongiro:add-missing-tests, r=al…

    …excrichton
    
    Add tests for issues with the 'E-needtest' label.
    
    This PR adds tests for the following issues:
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    37faa60 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#40316 - oli-obk:patch-4, r=GuillaumeGomez

    Fix a typo in the docs
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    75262cb View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#40321 - joelgallant:joelgallant-readme, r=a…

    …turon
    
    README formatting in configure/make section
    
    Tiny change to render the `config.mk` correctly
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    4e347d6 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#40325 - eddyb:pr38143, r=alexcrichton

    Added remove_from to vec.rs (rust-lang#38143)
    
    Turns out that if you push to someone's PR branch and cause the PR to close, you lose delegation 😞.
    
    @madseagames I'm really sorry about that 😭
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    99aad02 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#40326 - crazymerlyn:fix-doc-link, r=alexcri…

    …chton
    
    Update link to COMPILER_TESTS.md in CONTRIBUTING.md
    
    Link to compiler test documentation was broken after the file was moved by rust-lang#40086.
    This updates the link to the new location of the file.
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    5ad3f09 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#40327 - GuillaumeGomez:macros-urls, r=frewsxcv

    Add missing urls in some macros doc
    
    r? @frewsxcv
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    e8eb05c View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#40333 - tbu-:pr_doc_ptr_write, r=alexcrichton

    Clarify handling of `src` in `ptr::write`
    
    Fixes rust-lang#39733.
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    aea8010 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#40335 - tbu-:pr_doc_str_to_somecase, r=stev…

    …eklabnik
    
    Document why `str.to_{lower,upper}case` return `String`
    
    Fixes rust-lang#39201.
    Ariel Ben-Yehuda committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    f2886e8 View commit details
    Browse the repository at this point in the history