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 #131215

Merged
merged 20 commits into from
Oct 4, 2024
Merged

Rollup of 7 pull requests #131215

merged 20 commits into from
Oct 4, 2024

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    40d413f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    486440f View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

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

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    f95bdf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb7e369 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7cd466a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e8573c View commit details
    Browse the repository at this point in the history
  5. add direnv to gitignore

    Orion Gonzalez committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    3a0ed0c View commit details
    Browse the repository at this point in the history
  6. add nix files to gitignore

    Orion Gonzalez committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    510e262 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    83d0d9f View commit details
    Browse the repository at this point in the history
  8. Avoid ICE in coverage builds with bad #[coverage(..)] attributes

    This code can sometimes witness malformed coverage attributes in builds that
    are going to fail, so use `span_delayed_bug` to avoid an inappropriate ICE in
    that case.
    Zalathar committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    8e382ba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d47e388 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bc5f952 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#131024 - compiler-errors:deref-sugg, r=este…

    …bank
    
    Don't give method suggestions when method probe fails due to bad implementation of `Deref`
    
    If we have a bad `Deref` impl, we used to bail with `MethodError::NoMatch`, which makes the error reporting code think that there was no applicable method (and thus try to suggest importing something, even if it's in scope).
    
    Suppress this error, which fixes rust-lang#131003.
    matthiaskrgr authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    0d65f12 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#131112 - jswrenn:fix-130413, r=compiler-errors

    TransmuteFrom: Gracefully handle unnormalized types and normalization errors
    
    ~~Refactor to share code between `TransmuteFrom`'s trait selection and error reporting code paths. Additionally normalizes the source and destination types, and gracefully handles normalization errors.~~
    
    Fixes rust-lang#130413
    
    r​? `@compiler-errors`
    matthiaskrgr authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    33b4947 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#131176 - dev-ardi:gitignore, r=Noratrieb

    .gitignore files for nix
    
    This adds support for direnv and nix flakes / nix shell. I'm not sure if we should have a working nix configuration though.
    
    r? ``@noratrieb``
    matthiaskrgr authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    d3a3ac2 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#131183 - compiler-errors:opaque-ty-origin, …

    …r=estebank
    
    Refactoring to `OpaqueTyOrigin`
    
    Pulled out of a larger PR that uses these changes to do cross-crate encoding of opaque origin, so we can use them for edition 2024 migrations. These changes should be self-explanatory on their own, tho 😄
    matthiaskrgr authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    da81f64 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#131187 - Zalathar:bad-attr-ice, r=jieyouxu

    Avoid ICE in coverage builds with bad `#[coverage(..)]` attributes
    
    This code can sometimes witness malformed coverage attributes in builds that are going to fail, so use `span_delayed_bug` to avoid an inappropriate ICE in that case.
    
    Fixes rust-lang#127880.
    matthiaskrgr authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    28b64d8 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#131192 - ismailarilik:handle-potential-quer…

    …y-instability-lint-for-rustc-query-impl, r=compiler-errors
    
    Handle `rustc_query_impl` cases of `rustc::potential_query_instability` lint
    
    This PR removes `#![allow(rustc::potential_query_instability)]` line from [`compiler/rustc_query_impl/src/lib.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_query_impl/src/lib.rs#L5) <s>and converts `FxHash{Map,Set}` types into `FxIndex{Map,Set}` to suppress lint errors</s> (was not necessary for this PR).
    
    A somewhat tracking issue: rust-lang#84447
    
    r? ``@compiler-errors``
    matthiaskrgr authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    6753e07 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#131197 - EFanZh:avoid-emptyness-check-in-pe…

    …ekmut-pop, r=Amanieu
    
    Avoid emptiness check in `PeekMut::pop`
    
    This PR avoids an unnecessary emptiness check in `PeekMut::pop` by replacing `Option::unwrap` with `Option::unwrap_unchecked`.
    matthiaskrgr authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    29580e1 View commit details
    Browse the repository at this point in the history