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

Closed

Commits on Jan 6, 2023

  1. Configuration menu
    Copy the full SHA
    1eb828e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    670a6f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2631a5d View commit details
    Browse the repository at this point in the history
  4. fix rebase

    estebank committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    b693365 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2023

  1. Configuration menu
    Copy the full SHA
    eddb479 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0e560b View commit details
    Browse the repository at this point in the history
  3. Document that Vec::from_raw_parts[_in] must be given a pointer from…

    … the correct allocator.
    kpreid committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    288e89b View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2023

  1. Configuration menu
    Copy the full SHA
    49f849a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59aa421 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65fae26 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31b39be View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6fdb54d View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Rollup merge of rust-lang#104163 - H4x5:once-repeat-with-debug, r=dto…

    …lnay
    
    Don't derive Debug for `OnceWith` & `RepeatWith`
    
    Closures don't impl Debug, so the derived impl is kinda useless. The behavior of not debug-printing closures is consistent with the rest of the iterator adapters/sources.
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    9265c88 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#106092 - asquared31415:start_lang_item_chec…

    …ks, r=davidtwco
    
    Add checks for the signature of the `start` lang item
    
    Closes rust-lang#105963
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    66729cc View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#106131 - compiler-errors:not-ptrs, r=davidtwco

    Mention "signature" rather than "fn pointer" when impl/trait methods are incompatible
    
    Fixes rust-lang#80929
    Fixes rust-lang#67296
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    2c6368f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#106363 - estebank:mutability-mismatch-arg, …

    …r=Nilstrieb
    
    Structured suggestion for `&mut dyn Iterator` when possible
    
    Fix rust-lang#37914.
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    388444b View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#106584 - kpreid:vec-allocator, r=JohnTitor

    Document that `Vec::from_raw_parts[_in]` must be given a pointer from the correct allocator.
    
    Currently, the documentation of `Vec::from_raw_parts` and `Vec::from_raw_parts_in` says nothing about what allocator the pointer must come from. This PR adds that missing information explicitly.
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    236a93d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#106600 - compiler-errors:no-private-field-t…

    …y-err, r=estebank
    
    Suppress type errors that come from private fields
    
    Fixes rust-lang#57320
    
    There was some discussion here (rust-lang#57320 (comment)), but I honestly think the second error is worth suppressing regardless.
    
    I would be open to feedback though -- perhaps we can suppress the `.len()` suggestion if there's type error (since we have access to [`Expectation`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_typeck/enum.Expectation.html), we can determine that).
    
    r? `@estebank`
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    bc17e62 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#106602 - GuillaumeGomez:tidy-goml-scripts, …

    …r=Mark-Simulacrum
    
    Add goml scripts to tidy checks
    
    r? `@notriddle`
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    5d11325 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#106606 - estebank:bad-nested-turbofish, r=c…

    …ompiler-errors
    
    Do not emit structured suggestion for turbofish with wrong span
    
    Fix rust-lang#79161.
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    71b8514 View commit details
    Browse the repository at this point in the history