Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Manishearth/rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rollup-yf71qlr
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 55 files changed
  • 1 contributor

Commits on Sep 24, 2021

  1. Rollup merge of #88893 - Mark-Simulacrum:relnotes, r=pietroalbini

    Add 1.56.0 release notes
    
    Notable things:
    
    * Rustdoc section currently absent, for lack of things to call out that I could find. It seems like #87451 is the only potential candidate, but that seems like more of a bugfix and doesn't seem to warrant inclusion to me. But we can add it if desired.
    
    As with the 1.55.0 release notes, my intent is to leave this open for approximately 1-2 weeks at the early part of the cycle, and then merge it in (after fixing any feedback). Further iteration can happen in subsequent issues (and PRs).
    
    [Rendered](https://github.com/Mark-Simulacrum/rust/blob/relnotes/RELEASES.md)
    Manishearth authored Sep 24, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    790dc54 View commit details
  2. Rollup merge of #89001 - jackh726:binder-cleanup, r=nikomatsakis

    Be explicit about using Binder::dummy
    
    This is somewhat of a late followup to the binder refactor PR. It removes `ToPredicate` and `ToPolyTraitImpls` that hide the use of `Binder::dummy`. While this does make code a bit more verbose, it allows us be more careful about where we create binders.
    
    Another alternative here might be to add a new trait `ToBinder` or something with a `dummy()` fn. Which could still allow grepping but allows doing something like `trait_ref.dummy()` (but I also wonder if longer-term, it would be better to be even more explicit with a `bind_with_vars(ty::List::empty())` *but* that's not clear yet.
    
    r? `@nikomatsakis`
    Manishearth authored Sep 24, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    f24b753 View commit details
  3. Rollup merge of #89072 - bjorn3:less_symbol_as_str, r=michaelwoerister

    Avoid a couple of Symbol::as_str calls in cg_llvm
    
    This should improve performance a tiny bit. Also remove `Symbol::len` and make `SymbolIndex` private.
    Manishearth authored Sep 24, 2021
    Copy the full SHA
    6b12f3e View commit details
  4. Rollup merge of #89104 - Mark-Simulacrum:spawn-unchecked, r=nagisa,bj…

    …orn3
    
    Simplify scoped_thread
    
    Avoids a bunch of manual pointer manipulation in favor of using the appropriate std API.
    Manishearth authored Sep 24, 2021
    Copy the full SHA
    be29631 View commit details
  5. Rollup merge of #89208 - wesleywiser:rfc_2229_droporder, r=nikomatsakis

    [rfc 2229] Drop fully captured upvars in the same order as the regular drop code
    
    Currently, with the new 2021 edition, if a closure captures all of the
    fields of an upvar, we'll drop those fields in the order they are used
    within the closure instead of the normal drop order (the definition
    order of the fields in the type).
    
    This changes that so we sort the captured fields by the definition order
    which causes them to drop in that same order as well.
    
    Fixes rust-lang/project-rfc-2229#42
    
    r? `@nikomatsakis`
    Manishearth authored Sep 24, 2021
    Copy the full SHA
    6d29df8 View commit details
  6. Rollup merge of #89210 - Takashiidobe:master, r=kennytm

    Add missing time complexities to linked_list.rs
    
    Most functions in LinkedList have time complexities in their description:
    Like push front:
    
    ```
    Adds an element first in the list.
    
    This operation should compute in O(1) time.
    ```
    
    Time complexities were missing for the following, so I've added them in this PR:
    
    contains: O(n)
    front: O(1)
    front_mut: O(1)
    back: O(1)
    back_mut: O(1)
    Manishearth authored Sep 24, 2021
    Copy the full SHA
    23c28e3 View commit details
  7. Rollup merge of #89217 - GuillaumeGomez:generate-link-to-def-rust-too…

    …ls, r=jyn514
    
    Enable "generate-link-to-definition" option on rust tools docs as well
    
    Just realized that we enable the option for the compiler crates, but we don't have it for rustdoc and the other tools documentation...
    
    Part of #89095.
    
    cc `@rust-lang/rustdoc`
    r? `@Mark-Simulacrum`
    Manishearth authored Sep 24, 2021
    Copy the full SHA
    913b9df View commit details
  8. Rollup merge of #89221 - aDotInTheVoid:macro-error-1, r=estebank

    Give better error for `macro_rules! name!`
    
    r? `@estebank`
    
    `@rustbot` modify labels: +A-diagnostics +A-parser
    Manishearth authored Sep 24, 2021
    Copy the full SHA
    3f43f22 View commit details
Loading