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 8 pull requests #92905

Closed
wants to merge 25 commits into from

Commits on Dec 22, 2021

  1. When obligation is a sized predicate, prefer projection or object can…

    …didates instead of param_env candidates
    jackh726 committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    d3aecc1 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

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

Commits on Jan 12, 2022

  1. Override rustc version in ui and mir-opt tests to get stable hashes

    Building a dozen separate regexps for each test in compiletest consumes significant amounts of CPU cycles.
    Using `RUSTC_FORCE_INCR_COMP_ARTIFACT_HEADER` stabilizes hashes calcuated for the individual tests so
    no test-dependent normalization is needed. Hashes for the standard library still change so some
    normalizations are still needed.
    the8472 committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    1dc9c59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c6ae12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0cf7fd1 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Configuration menu
    Copy the full SHA
    f88b501 View commit details
    Browse the repository at this point in the history
  2. librustdoc: Address some clippy lints

    Also ignore clippy's "collapsible if..." lints.
    pierwill committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    7e055c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. fix bug

    BoxyUwU committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    73945fd View commit details
    Browse the repository at this point in the history
  2. reduce indentaton

    BoxyUwU committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    b3d71d9 View commit details
    Browse the repository at this point in the history
  3. Add myself to .mailmap

    (to de-duplicate my identities in the contributors list)
    JamesHinshelwood authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    fd7cc79 View commit details
    Browse the repository at this point in the history
  4. reviews ish

    BoxyUwU committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    61c07a9 View commit details
    Browse the repository at this point in the history
  5. Remove unused link references.

    ehuss committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    9b9fc60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ddab0bf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c1526c6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    12fa471 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c7926c7 View commit details
    Browse the repository at this point in the history
  10. Fix some links that had colliding reference names.

    These reference names were very general, and used in other places.
    ehuss committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    6b726a1 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#90782 - ricobbe:binutils-dlltool, r=michael…

    …woerister
    
    Implement raw-dylib support for windows-gnu
    
    Add support for `#[link(kind = "raw-dylib")]` on windows-gnu targets.  Work around binutils's linker's inability to read import libraries produced by LLVM by calling out to the binutils `dlltool` utility to create an import library from a temporary .DEF file; this approach is effectively a slightly refined version of ```@mati865's``` earlier attempt at this strategy in PR rust-lang#88801.  (In particular, this attempt at this strategy adds support for `#[link_ordinal(...)]` as well.)
    
    In support of rust-lang#58713.
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    01d93da View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#92191 - jackh726:issue-89352, r=nikomatsakis

    Prefer projection candidates instead of param_env candidates for Sized predicates
    
    Fixes rust-lang#89352
    
    Also includes some drive by logging and verbose printing changes that I found useful when debugging this, but I can remove this if needed.
    
    This is a little hacky - but imo no more than the rest of `candidate_should_be_dropped_in_favor_of`. Importantly, in a Chalk-like world, both candidates should be completely compatible.
    
    r? `@nikomatsakis`
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    4bbc158 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#92363 - the8472:less-compiletest-normalizat…

    …ion, r=Mark-Simulacrum
    
    Override rustc version in ui and mir-opt tests to get stable hashes
    
    Building a dozen separate regexps for each test in compiletest consumes significant amounts of CPU cycles.
    
    UI test timings on my machine:
    
    OLD: 39.63s
    NEW: 30.27s
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    a36f87f View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#92684 - ibraheemdev:patch-10, r=m-ou-se

    Export `tcp::IntoIncoming`
    
    Added in rust-lang#88339 but not publicly exported.
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    4241394 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#92838 - ehuss:cleanup-release-links, r=Mark…

    …-Simulacrum
    
    Clean up some links in RELEASES
    
    This fixes some issues with markdown links in the RELEASES file.
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    f44b723 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#92868 - pierwill:librustdoc-clippy, r=camelid

    librustdoc: Address some clippy lints
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    017346a View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#92875 - BoxyUwU:infer_arg_opt_const_param_o…

    …f, r=lcnr
    
    Make `opt_const_param_of` work in the presence of `GenericArg::Infer`
    
    highly recommend viewing the first and second commits on their own rather than looking at file changes 🤣
    
    Because we filtered args down to just const args we would ignore `GenericArg::Infer` which made us get a `arg_index` which was wrong by however many const `GenericArg::Infer` came previously
    
    [example](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=46dba6a53aca6333028a10908ef16e0b) of the [bugs](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=a8eebced26eefa4119fc2e7ae0c76de6) fixed.
    
    r? `@lcnr`
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    b385eaa View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#92891 - JamesHinshelwood:patch-1, r=Mark-Si…

    …mulacrum
    
    Add myself to .mailmap
    
    (to de-duplicate my identities in the contributors list)
    matthiaskrgr authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    01504f3 View commit details
    Browse the repository at this point in the history