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 14 pull requests #105070

Merged
merged 33 commits into from
Nov 30, 2022
Merged

Rollup of 14 pull requests #105070

merged 33 commits into from
Nov 30, 2022

Commits on Nov 17, 2022

  1. Encourage developers not to use periods in target names

    They can cause issues in e.g. cargo.
    flba-eb committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    5dd073e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c3555d View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

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

Commits on Nov 21, 2022

  1. Configuration menu
    Copy the full SHA
    005c6df View commit details
    Browse the repository at this point in the history
  2. Add more regression tests

    oli-obk committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    ca57832 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Configuration menu
    Copy the full SHA
    9d66ab0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63915be View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. Configuration menu
    Copy the full SHA
    07b86a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56ae9a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8f3203 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a4e5ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    050cee4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    537488e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8c09515 View commit details
    Browse the repository at this point in the history
  8. add FIXME: where it belongs

    suggestion from a friend!! 🐸
    
    Co-authored-by: Michael Goulet <michael@errs.io>
    WaffleLapkin and compiler-errors committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    1b4012e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    edf5cce View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9512446 View commit details
    Browse the repository at this point in the history
  11. move candidate_from_obligation out of assembly

    it doesn't belong there as it also does winnowing
    lcnr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    bb982df View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    66180df View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#103876 - oli-obk:tait_implications, r=lcnr

    type alias impl trait: add tests showing that hidden type only outlives lifetimes that occur in bounds
    
    fixes rust-lang#103642
    
    rust-lang#102417 only made sure that hidden types cannot outlive lifetimes other than the ones mentioned on bounds, but didn't allow us to actually infer anything from that.
    
    cc `@aliemjay`
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    3617adf View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#104427 - compiler-errors:rematch-impl-may-f…

    …ail-actually, r=lcnr
    
    Explain why `rematch_impl` fails to be infallible
    
    Fixes rust-lang#104395
    
    r? `@lcnr`
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    d88699f View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#104436 - ismailmaj:add-slice-to-stack-alloc…

    …ated-string-comment, r=Mark-Simulacrum
    
    Add slice to the stack allocated string comment
    
    Precise that the "stack allocated string" is not a string but a string slice.
    
    ``@rustbot`` label +A-docs
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    e4d1fe7 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#104523 - flba-eb:fix_nto_target_name, r=wes…

    …leywiser
    
    Don't use periods in target names
    
    Using a period in the target name can cause issues in e.g. cargo, see also https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/Running.20tests.20on.20remote.20target
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    3e9a223 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#104627 - calebzulawski:print-target-feature…

    …s, r=compiler-errors
    
    Print all features with --print target-features
    
    This fixes `rustc --print target-features` with respect to aliases and tied features.
    
    Before this change, the print command assumed that each LLVM feature corresponds exactly to one rustc feature.  In the case of aliases and tied features, this assumption failed and some features (such as aarch64's "pacg") were missing.  With this change, every target feature is listed.
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    3539cf9 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#104911 - spastorino:inferred_outlives_crate…

    …-return-clause, r=oli-obk
    
    Make inferred_outlives_crate return Clause
    
    r? ``@oli-obk``
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    ca8f4c8 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#105002 - zertosh:acp-140, r=dtolnay

    Add `PathBuf::as_mut_os_string` and `Path::as_mut_os_str`
    
    Implements rust-lang/libs-team#140 (tracking issue rust-lang#105021).
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    804fa66 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#105023 - tmiasko:asm-sym-static-reachable, …

    …r=wesleywiser
    
    Statics used in reachable function's inline asm are reachable
    
    Fixes rust-lang#104925.
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    581ca3e View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#105045 - WaffleLapkin:deref-ahhhh~, r=compi…

    …ler-errors
    
    `rustc_ast_{passes,pretty}`: remove `ref` patterns
    
    r? `@compiler-errors`
    Previous PR: rust-lang#104721
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    b596d6b View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#105049 - mkroening:hermit-fixes, r=jyn514

    Hermit: Minor build fixes
    
    These changes are necessary to build for the hermit targets.
    
    CC: ``@stlankes``
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    aa674ee View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#105051 - WaffleLapkin:unmacro, r=oli-obk

    Replace a macro with a function
    
    🌸
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    776e4a3 View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#105062 - notriddle:notriddle/rustdoc-toggle…

    …-background, r=GuillaumeGomez
    
    rustdoc: use shorthand background for rustdoc toggle CSS
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    5726f1f View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#105066 - lcnr:mv-candidate_from_obligation,…

    … r=compiler-errors
    
    move `candidate_from_obligation` out of assembly
    
    it doesn't belong there as it also does winnowing
    
    r? `@compiler-errors`
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    08a6c93 View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#105068 - jneem:master, r=jyn514

    Run patchelf also on rust-analyzer-proc-macro-srv.
    
    On NixOS, `rust-analyzer-proc-macro-srv` needs to be `patchelf`ed just like all the other libs and binaries.
    
    With this fix, I am able to use the language server configuration recommended in [the guide](https://rustc-dev-guide.rust-lang.org/building/suggested.html#configuring-rust-analyzer-for-rustc).
    matthiaskrgr committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    a5ca67b View commit details
    Browse the repository at this point in the history