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 5 pull requests #79081

Closed
wants to merge 19 commits into from

Commits on Nov 7, 2020

  1. Test structural matching for all range types

    Adds structural match tests for all range types.
    
    Note: also adds the otherwise unrelated test `test_range_to_inclusive` for completeness
    CDirkx committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    6728240 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2020

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

Commits on Nov 15, 2020

  1. Configuration menu
    Copy the full SHA
    1861a38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af869c2 View commit details
    Browse the repository at this point in the history
  3. Add test to ensure that no DOS backline (\r\n) doesn't create extra b…

    …ackline in source rendering
    GuillaumeGomez committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    0c52044 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d59f5e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3bfa4f9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3e1f8a8 View commit details
    Browse the repository at this point in the history
  7. Update lock file

    GuillaumeGomez committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    a102ec0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    329d5fa View commit details
    Browse the repository at this point in the history
  9. Update doctest tests

    GuillaumeGomez committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    1ee6308 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    494e452 View commit details
    Browse the repository at this point in the history
  11. Add comment explaining why we can't split on error[{}]: because of…

    … the color escape characters
    GuillaumeGomez committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    2edc3bd View commit details
    Browse the repository at this point in the history
  12. Remove unused import

    GuillaumeGomez committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    bdcd6da View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#74293 - GuillaumeGomez:rustdoc-test-compile…

    …r-output-color, r=jyn514
    
    Rustdoc test compiler output color
    
    Fixes rust-lang#72915
    
    We just need to be sure it doesn't break rustdoc doctests' compilation checks. Maybe some other unforeseen consequences too?
    
    r? `@ehuss`
    cc `@rust-lang/rustdoc`
    GuillaumeGomez authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    00b594b View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#76339 - CDirkx:structural-match-range, r=Ma…

    …rk-Simulacrum
    
    Test structural matching for all range types
    
    As of rust-lang#70166 all range types (`core::ops::Range` etc.) can be structurally matched upon, and by extension used in const generics. In reference to the fact that this is a publicly observable property of these types, and thus falls under the Rust stability guarantees of the standard library, a regression test was added in rust-lang#70283.
    
    This regression test was implemented by me by testing for the ability to use the range types within const generics, but that is not the actual property the std guarantees now (const generics is still unstable). This PR addresses that situation by adding extra tests for the range types that directly test whether they can be structurally matched upon.
    
    Note: also adds the otherwise unrelated test `test_range_to_inclusive` for completeness with the other range unit tests
    GuillaumeGomez authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    6a3473f View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#77939 - GuillaumeGomez:fix-source-code-dos-…

    …backline, r=jyn514
    
    Ensure that the source code display is working with DOS backline
    
    Fixes rust-lang#76361.
    
    cc `@lzutao`
    r? `@jyn514`
    GuillaumeGomez authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    a3eaa85 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#78678 - Nemo157:doc-cfg-w-traits, r=jyn514,…

    …GuillaumeGomez
    
    Add tests and improve rendering of cfgs on traits
    
    Shows the additional features required to get the trait implementation, suppressing any already shown on the current page. One interesting effect from this is if you have a cfg-ed type, implementing a cfg-ed trait (so the implementation depends on both cfgs), you will get the inverted pair of cfgs shown on each page:
    
    ![image](https://user-images.githubusercontent.com/81079/97904671-207bdc00-1d41-11eb-8144-707e8017d2b6.png)
    
    ![image](https://user-images.githubusercontent.com/81079/97904700-27a2ea00-1d41-11eb-8b9f-e925ba339044.png)
    
    The hidden items on the trait implementation also now get the correct cfgs displayed on them.
    
    Tests are blocked on rust-lang#78673.
    
    fixes rust-lang#68100
    cc rust-lang#43781
    GuillaumeGomez authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    f0965d5 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#79077 - RalfJung:llvm-magic, r=Mark-Simulacrum

    document that __rust_alloc is also magic to our LLVM fork
    
    Based on [comments](rust-lang#79045 (comment)) by `@tmiasko` and `@bjorn3.`
    GuillaumeGomez authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    7d7411a View commit details
    Browse the repository at this point in the history