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 6 pull requests #129275

Merged
merged 13 commits into from
Aug 19, 2024
Merged

Rollup of 6 pull requests #129275

merged 13 commits into from
Aug 19, 2024

Commits on Aug 17, 2024

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

Commits on Aug 18, 2024

  1. Typo

    smoelius committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    dc47665 View commit details
    Browse the repository at this point in the history
  2. Check that #[may_dangle] is properly applied

    It's only valid when applied to a type or lifetime parameter
    in `Drop` trait implementation.
    GoldsteinE committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    3a9bf45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df6cb95 View commit details
    Browse the repository at this point in the history
  4. safe transmute: forbid reference lifetime extension

    Modifies `BikeshedIntrinsicFrom` to forbid lifetime extensions on
    references. This static check can be opted out of with the
    `Assume::lifetimes` flag.
    
    Fixes rust-lang#129097
    jswrenn committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    17995d5 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    da7dd43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bf2455 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#129194 - ChrisDenton:detect-src, r=Mark-Sim…

    …ulacrum
    
    Fix bootstrap test `detect_src_and_out` on Windows
    
    Fixes rust-lang#129188 by making sure it's properly testing the right path for the platform.
    matthiaskrgr committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    cdb44b7 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#129217 - jswrenn:transmute-lifetimes, r=com…

    …piler-errors
    
    safe transmute: check lifetimes
    
    Modifies `BikeshedIntrinsicFrom` to forbid lifetime extensions on references. This static check can be opted out of with the `Assume::lifetimes` flag.
    
    Fixes rust-lang#129097
    
    Tracking Issue: rust-lang#99571
    
     r​? `@compiler-errors`
    matthiaskrgr committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    5cb30b7 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#129223 - wafarm:fix-129215, r=compiler-errors

     Fix wrong argument for `get_fn_decl`
    
    Closes rust-lang#129215 (seems to be introduced in rust-lang#129168)
    matthiaskrgr committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    5ba877c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#129235 - GoldsteinE:check-may-dangle, r=com…

    …piler-errors
    
    Check that `#[may_dangle]` is properly applied
    
    It's only valid when applied to a type or lifetime parameter in `Drop` trait implementation.
    
    Tracking issue: rust-lang#34761
    cc rust-lang#34761 (comment)
    matthiaskrgr committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    7b245e4 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#129245 - smoelius:patch-1, r=lqd

    Fix a typo in `rustc_hir` doc comment
    
    Fix a typo in a comment.
    matthiaskrgr committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    8dc8589 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#129271 - futile:query-system/prevent-double…

    …-panic, r=michaelwoerister
    
    Prevent double panic in query system, improve diagnostics
    
    I stumbled upon a double-panic in the query system while working on something else (rust-lang#129102), which hid the real error cause for what I was debugging. This PR remedies that, so unwinding should be able to present more errors. It shouldn't really be relevant for code that doesn't ICE.
    matthiaskrgr committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    7730356 View commit details
    Browse the repository at this point in the history