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 15 pull requests #78767

Merged
merged 44 commits into from
Nov 5, 2020
Merged

Rollup of 15 pull requests #78767

merged 44 commits into from
Nov 5, 2020

Commits on Oct 17, 2020

  1. Configuration menu
    Copy the full SHA
    4af560e View commit details
    Browse the repository at this point in the history
  2. Rebase conflicts

    poliorcetics committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    85afbd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4fd06b9 View commit details
    Browse the repository at this point in the history
  4. Move vec swap test

    poliorcetics committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    42271a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1bdee96 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2020

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

Commits on Oct 29, 2020

  1. Change as_str → to_string in proc_macro::Ident::span() docs

    There is no `as_str` function on Ident any more.
    
    Also change it to an intra doc link while we're at it.
    est31 committed Oct 29, 2020
    Configuration menu
    Copy the full SHA
    e4d1096 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. Configuration menu
    Copy the full SHA
    300362e View commit details
    Browse the repository at this point in the history
  2. Allow the theme picker to work with arrow keys

    This is mostly motivated by docs.rs. It's really weird
    when arrow keys work in the top dropdown menu, but don't work
    in other dropdown menus on the same page.
    notriddle committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    ac3a434 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6918a17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    90c7c63 View commit details
    Browse the repository at this point in the history
  5. Pull theme picker keyboard code into main.js

    Most of the code in mod.rs should be code that really needs to have
    the list of available themes inlined into it.
    notriddle committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    17b8ca9 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Configuration menu
    Copy the full SHA
    5801109 View commit details
    Browse the repository at this point in the history
  2. Fix outdated comment next to array_impl_default

    The comment has become outdated as the array_impl macro
    has been removed.
    est31 committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    93fa023 View commit details
    Browse the repository at this point in the history
  3. fix a couple of clippy warnings:

    filter_next
    manual_strip
    redundant_static_lifetimes
    single_char_pattern
    unnecessary_cast
    unused_unit
    op_ref
    redundant_closure
    useless_conversion
    matthiaskrgr committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    bcd2f2d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    69e5729 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    232b9ba View commit details
    Browse the repository at this point in the history
  6. Fix issue 78654.

    hameerabbasi committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    a70e0c2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bd7229d View commit details
    Browse the repository at this point in the history
  8. Move f64::NAN ui tests into library

    chansuke committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    5855fb7 View commit details
    Browse the repository at this point in the history
  9. Fix format

    chansuke committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    97d5a1b View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2020

  1. Configuration menu
    Copy the full SHA
    d8afe98 View commit details
    Browse the repository at this point in the history
  2. Update cargo

    ehuss committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    bdbcaf0 View commit details
    Browse the repository at this point in the history
  3. Don't use crate in link text

    `crate::` -> `core::`
    
    It looks weird to have `crate::` in the link text and we use the actual
    crate name everywhere else.
    
    If anyone is curious, I used this Vim command to update all the links:
    
        %s/\(\s\)\[`crate::\(.*\)`\]/\1[`core::\2`](crate::\2)/g
    camelid committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    3084a55 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbdb1f0 View commit details
    Browse the repository at this point in the history
  5. Add missing comma

    'Note however,' -> 'Note, however,'
    camelid committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    677b2ac View commit details
    Browse the repository at this point in the history
  6. Fixed typo in comment

    paramter -> parameter
    eltociear authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    873ebcb View commit details
    Browse the repository at this point in the history
  7. Add mod nan for test

    chansuke committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    f9b139f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a15ee4d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76718 - poliorcetics:vec-ui-to-unit-test, r…

    …=jyn514
    
    Move Vec UI tests to unit tests when possible
    
    Helps with rust-lang#76268.
    
    I'm moving the tests using `Vec` or `VecDeque`.
    
    ````@rustbot```` modify labels: A-testsuite C-cleanup T-libs
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    55f4b80 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#78093 - camelid:as-cleanup, r=jyn514

    Clean up docs for 'as' keyword
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    10d2843 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#78425 - chansuke:move_nan, r=jyn514

    Move f64::NAN ui tests into `library`
    
    This is a partial fix of rust-lang#76268.
    
    r? ```@matklad```
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    9922933 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#78465 - est31:proc_macro_to_string, r=jyn514

    Change as_str → to_string in proc_macro::Ident::span() docs
    
    There is no `as_str` function on Ident any more.
    
    Also change it to an intra doc link while we're at it.
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    6d7098f View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#78584 - notriddle:master, r=GuillaumeGomez

    Add keyboard handling to the theme picker menu
    
    This PR is mostly designed to bring the theme picker closer to feature parity with the menu bar from docs.rs. Though the rustdoc theme picker is technically already usable from the keyboard, it's really weird that arrow keys work on some of the menus, but not all of them, in the exact same page.
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    cbf74bc View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#78716 - est31:array_traits, r=Dylan-DPC

    Array trait impl comment/doc fixes
    
    Two small doc/comment fixes regarding trait implementations on arrays.
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    43e1b58 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#78727 - liketechnik:issue-55201, r=Guillaum…

    …eGomez
    
    (rustdoc) fix test for trait impl display
    
    The test checks that parameters and return values with `impl Trait` types are correctly generated in rustdoc's output.
    
    In essence, the previous version of the test checked the absence of values that would never be generated by rustdoc, so it could basically never fail. These values were adjusted to the expected output and are now required to exist in rustdoc's output. See rust-lang#55201 (comment) for a detailed explanation of the reasoning behind the changes.
    
    Note that the output of rustdoc for `impl Trait`s in parameters and return values did not change since the inital test creation, so this PR only modifies the test.
    
    Closes rust-lang#55201
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    9bbb052 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#78733 - matthiaskrgr:cl11ppy, r=jyn514

    fix a couple of clippy warnings:
    
    filter_next
    manual_strip
    redundant_static_lifetimes
    single_char_pattern
    unnecessary_cast
    unused_unit
    op_ref
    redundant_closure
    useless_conversion
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    8640360 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#78735 - danielhenrymantilla:simplify-unsafe…

    …cell-getmut, r=RalfJung
    
    Simplify the implementation of `get_mut` (no unsafe)
    
    Quick PR to reduce one use of `unsafe` pointed out in the previous PR
    
    r? ````@RalfJung````
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    29fad21 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#78738 - sasurau4:test/move-range-test-to-li…

    …brary-core, r=jyn514
    
    Move range in ui test to ops test in library/core
    
    Helps with rust-lang#76268
    
    r? ````@matklad````
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    86e6afa View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#78739 - hameerabbasi:issue-78654, r=nikomat…

    …sakis
    
    Fix ICE on type error in async function
    
    Fixes rust-lang#78654
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    171d29c View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#78742 - vn-ki:fix-issue-78655, r=oli-obk

    make intern_const_alloc_recursive return error
    
    fix rust-lang#78655
    
    r? ``@oli-obk``
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    5ffccc4 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#78756 - ehuss:update-cargo, r=ehuss

    Update cargo
    
    7 commits in becb4c282b8f37469efb8f5beda45a5501f9d367..d5556aeb8405b1fe696adb6e297ad7a1f2989b62
    2020-10-28 16:41:55 +0000 to 2020-11-04 22:20:36 +0000
    - Implement weak dependency features. (rust-lang/cargo#8818)
    - Avoid some extra downloads with new feature resolver. (rust-lang/cargo#8823)
    - fix: remove install command `$`, for copying friendly (rust-lang/cargo#8828)
    - Bump `anyhow` dependency to `1.0.34` in `crates-io` crate (rust-lang/cargo#8826)
    - Normalize SourceID in `cargo metadata`. (rust-lang/cargo#8824)
    - vendor: correct the path to cargo config (rust-lang/cargo#8822)
    - Make host_root return host.root(), not host.dest() (rust-lang/cargo#8819)
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    679c4c7 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#78757 - camelid:crate-link-text, r=jyn514

    Improve and clean up some intra-doc links
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    f383e4f View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#78758 - eltociear:patch-1, r=jyn514

    Fixed typo in comment
    
    paramter -> parameter
    m-ou-se authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    8416e13 View commit details
    Browse the repository at this point in the history