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 6 pull requests #87198

Closed
wants to merge 15 commits into from

Commits on Jul 13, 2021

  1. Fix VecMap Extend impl

    oli-obk committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    692f638 View commit details
    Browse the repository at this point in the history
  2. Debug log all the things

    oli-obk committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    95f296d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    587e8fd View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Configuration menu
    Copy the full SHA
    1a90004 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d38f2b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7fc4fc7 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Configuration menu
    Copy the full SHA
    8841a42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6efa33 View commit details
    Browse the repository at this point in the history
  3. feat(rustdoc): open sidebar menu when links inside it are focused

    Fixes rust-lang#87172
    
    Based on rust-lang#87167 (which should be merged first)
    
    Preview it at https://notriddle.com/notriddle-rustdoc-test/std/index.html
    
    Co-authored-by: Guillaume Gomez <guillaume.gomez@huawei.com>
    notriddle and GuillaumeGomez committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    0ea2980 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#87107 - oli-obk:tait_double, r=nikomatsakis

    Loop over all opaque types instead of looking at just the first one with the same DefId
    
    This exposed a bug in VecMap and is needed for rust-lang#86410 anyway
    
    r? `@spastorino`
    
    cc `@nikomatsakis`
    GuillaumeGomez authored Jul 16, 2021
    Configuration menu
    Copy the full SHA
    f5f821b View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#87170 - xFrednet:clippy-5393-add-diagnostic…

    …-items, r=Manishearth,oli-obk
    
    Add diagnostic items for Clippy
    
    This adds a bunch of diagnostic items to `std`/`core`/`alloc` functions, structs and traits used in Clippy. The actual refactorings in Clippy to use these items will be done in a different PR in Clippy after the next sync.
    
    This PR doesn't include all paths Clippy uses, I've only gone through the first 85 lines of Clippy's [`paths.rs`](https://github.com/rust-lang/rust-clippy/blob/ecf85f4bdc319f9d9d853d1fff68a8a25e64c7a8/clippy_utils/src/paths.rs) (after rust-lang/rust-clippy#7466) to get some feedback early on. I've also decided against adding diagnostic items to methods, as it would be nicer and more scalable to access them in a nicer fashion, like adding a `is_diagnostic_assoc_item(did, sym::Iterator, sym::map)` function or something similar (Suggested by `@camsteffen` [on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/147480-t-compiler.2Fwg-diagnostics/topic/Diagnostic.20Item.20Naming.20Convention.3F/near/225024603))
    
    There seems to be some different naming conventions when it comes to diagnostic items, some use UpperCamelCase (`BinaryHeap`) and some snake_case (`hashmap_type`). This PR uses UpperCamelCase for structs and traits and snake_case with the module name as a prefix for functions. Any feedback on is this welcome.
    
    cc: rust-lang/rust-clippy#5393
    
    r? `@Manishearth`
    GuillaumeGomez authored Jul 16, 2021
    Configuration menu
    Copy the full SHA
    ecbb863 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#87174 - inquisitivecrystal:array-map, r=ken…

    …nytm
    
    Stabilize `[T; N]::map()`
    
    This stabilizes the `[T; N]::map()` function, gated by the `array_map` feature. The FCP has [already completed.](rust-lang#75243 (comment))
    
    Closes rust-lang#75243.
    GuillaumeGomez authored Jul 16, 2021
    Configuration menu
    Copy the full SHA
    d6d0632 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    64a73ab View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#87180 - notriddle:notriddle/sidebar-keyboar…

    …d-mobile, r=GuillaumeGomez
    
    feat(rustdoc): open sidebar menu when links inside it are focused
    
    Fixes rust-lang#87172
    
    Based on rust-lang#87167 (which should be merged first)
    
    r? `@GuillaumeGomez`
    
    Preview it at https://notriddle.com/notriddle-rustdoc-test/std/index.html
    GuillaumeGomez authored Jul 16, 2021
    Configuration menu
    Copy the full SHA
    b650e62 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#87188 - GuillaumeGomez:gui-test-auto-hide-t…

    …rait-impl, r=notriddle
    
    Add GUI test for auto-hide-trait-implementations setting
    
    Fixes rust-lang#85592.
    
    r? `@notriddle`
    GuillaumeGomez authored Jul 16, 2021
    Configuration menu
    Copy the full SHA
    07d227f View commit details
    Browse the repository at this point in the history