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 7 pull requests #105579

Merged
merged 15 commits into from
Dec 12, 2022
Merged

Rollup of 7 pull requests #105579

merged 15 commits into from
Dec 12, 2022

Commits on Sep 10, 2022

  1. Better documentation for env::home_dir()'s broken behaviour

    This improves the documentation to say *why* it was deprecated. The reason was because it reads `HOME` on Windows which is meaningless there. Note that the PR that deprecated it stated that returning an empty string if `HOME` is set to an empty string was a problem, however I can find no evidence that this is the case. `cd` handles it fine whereas if `HOME` is unset it gives an explicit `HOME not set` error.
    
    * Original deprecation reason: https://internals.rust-lang.org/t/deprecate-or-break-fix-std-env-home-dir/7315
    * Original deprecation PR: rust-lang#51656
    
    See rust-lang#71684
    Timmmm committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    8d08983 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. Reword "has no meaning" per suggestion

    Co-authored-by: Josh Triplett <josh@joshtriplett.org>
    Timmmm and joshtriplett committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    8f0025e View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

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

Commits on Dec 7, 2022

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

Commits on Dec 8, 2022

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

Commits on Dec 10, 2022

  1. separate heading from body

    tshepang committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    6a43946 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. llvm-wrapper: adapt for LLVM API changes

    This is a follow-up of
    rust-lang@75aec47.
    There, I updated the wrapper to only include llvm/ADT/Optional.h for
    LLVM version below 16. But I missed updating some of the None references.
    
    Found by our experimental rust + llvm at HEAD bot:
    https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/15587#0185006b-e0af-49e5-8b06-280ed125ff0d/200-539
    krasimirgg committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    cbdc00f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e583ff View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#101648 - Timmmm:home_dir_docs, r=joshtriplett

    Better documentation for env::home_dir()'s broken behaviour
    
    This improves the documentation to say *why* it was deprecated. The reason was because it reads `HOME` on Windows which is meaningless there. Note that the PR that deprecated it stated that returning an empty string if `HOME` is set to an empty string was a problem, however I can find no evidence that this is the case. `cd` handles it fine whereas if `HOME` is unset it gives an explicit `HOME not set` error.
    
    * Original deprecation reason: https://internals.rust-lang.org/t/deprecate-or-break-fix-std-env-home-dir/7315
    * Original deprecation PR: rust-lang#51656
    
    See rust-lang#71684
    matthiaskrgr committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    668976b View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#105283 - compiler-errors:ty-var-in-hir-wfch…

    …eck, r=nagisa
    
    Don't call `diagnostic_hir_wf_check` query if we have infer variables
    
    Fixes rust-lang#105260
    matthiaskrgr committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    aa7b5b3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#105369 - chenyukang:yukang/fix-105226, r=Ta…

    …KO8Ki
    
    Detect spurious ; before assoc fn body
    
    Fixes rust-lang#105226
    
    r? ``@TaKO8Ki``
    matthiaskrgr committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    4154e14 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#105472 - spastorino:make-encoder-use-querie…

    …s, r=oli-obk
    
    Make encode_info_for_trait_item use queries instead of accessing the HIR
    
    This change avoids accessing the HIR on `encode_info_for_trait_item` and uses queries. We will need to execute this function for elements that have no HIR and by using queries we will be able to feed for definitions that have no HIR.
    
    r? ``@oli-obk``
    matthiaskrgr committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    6ed8cb6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#105521 - tshepang:keep-heading-separate, r=…

    …nagisa
    
    separate heading from body
    matthiaskrgr committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    6042f5b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#105555 - krasimirgg:llvm-int-opt-2, r=cuviper

    llvm-wrapper: adapt for LLVM API changes
    
    This is a follow-up of rust-lang@75aec47. There, I updated the wrapper to only include llvm/ADT/Optional.h for LLVM version below 16. But I missed updating some of the None references.
    
    Found by our experimental rust + llvm at HEAD bot: https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/15587#0185006b-e0af-49e5-8b06-280ed125ff0d/200-539
    matthiaskrgr committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    79f99e7 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#105560 - GuillaumeGomez:extend-rustdoc-hash…

    …tag-prep-line, r=notriddle
    
    Extend rustdoc hashtag prepended line test
    
    Follow-up of rust-lang#105539. This case wasn't checked so better add it.
    
    r? `@notriddle`
    matthiaskrgr committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    427ea68 View commit details
    Browse the repository at this point in the history