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 11 pull requests #66875

Closed
wants to merge 56 commits into from
Closed

Commits on Nov 24, 2019

  1. Configuration menu
    Copy the full SHA
    266ede1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5098ba6 View commit details
    Browse the repository at this point in the history
  3. Tidy.

    cjgillot committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    27513a2 View commit details
    Browse the repository at this point in the history
  4. Fix test.

    cjgillot committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    becfe5c View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

  1. Rename continue_panic_fmt to panic_handler, and make it the #[panic_h…

    …andler] directly
    
    The "continue" in the name was really confusing; it sounds way too much like "resume" which is a totally different concept around panics.
    RalfJung committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    cd5d0c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08f779c View commit details
    Browse the repository at this point in the history
  3. Remove wrong comment.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    18bb912 View commit details
    Browse the repository at this point in the history
  4. Pass Queries by reference.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    ea1b803 View commit details
    Browse the repository at this point in the history
  5. Simplify early exits.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    7d01b6c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8ffc944 View commit details
    Browse the repository at this point in the history
  7. Superfluous lifetime.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    9d5f721 View commit details
    Browse the repository at this point in the history
  8. more panicking comments

    RalfJung committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    3c48579 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Configuration menu
    Copy the full SHA
    3a8e1b6 View commit details
    Browse the repository at this point in the history
  2. abort on BoxMeUp misuse

    RalfJung committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    3e96ca2 View commit details
    Browse the repository at this point in the history
  3. expand comment

    RalfJung committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    61486f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a19ef9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    babe9fc View commit details
    Browse the repository at this point in the history
  6. Reduce righward drift.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    68b1ac9 View commit details
    Browse the repository at this point in the history
  7. Review nits.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    144d1c2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    58a9c73 View commit details
    Browse the repository at this point in the history
  9. Have Queries own the GlobalCtxt.

    The construction of the GlobalCtxt is moved from a generator's stack to
    the Queries struct.  Since the GlobalCtxt requires the HIR Forest and the
    arenas to live longer, those are moved into Queries the same way.
    
    The resulting handling of objects is more brittle, because consumers of
    the Once objects need to be careful of their initialisation.
    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    b99513b View commit details
    Browse the repository at this point in the history
  10. Formatting.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    7b71e9a View commit details
    Browse the repository at this point in the history
  11. Move local Arena to Queries.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    7e72b36 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1f850f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Rename lifetimes.

    cjgillot committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    79e2324 View commit details
    Browse the repository at this point in the history
  2. Rename BoxedGlobalCtxt.

    cjgillot committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    e5ed101 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77a4c85 View commit details
    Browse the repository at this point in the history
  4. Misc renames.

    cjgillot committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    e321ba9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e12f39 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    38f9cd4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ce69610 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7edaeba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d411dd2 View commit details
    Browse the repository at this point in the history
  10. Use intra-doc links

    CreepySkeleton committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    f11dd32 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    df625bd View commit details
    Browse the repository at this point in the history
  12. Clarifies how to tag users for assigning PRs

    Mark Lodato committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    9b78191 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2019

  1. Update CONTRIBUTING.md

    Dylan-DPC committed Nov 28, 2019
    Configuration menu
    Copy the full SHA
    2a7dc5e View commit details
    Browse the repository at this point in the history
  2. Update CONTRIBUTING.md

    Dylan-DPC committed Nov 28, 2019
    Configuration menu
    Copy the full SHA
    77f2ac4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    85a468b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd40d0c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    314f8d5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3aead85 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3048d7e View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2019

  1. allow customising ty::TraitRef's printing behavior

    fix clippy
    
    allow customising ty::TraitRef's printing behavior
    
    fix clippy
    
    stylistic fix
    basil-cow committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    f07bd06 View commit details
    Browse the repository at this point in the history
  2. Minor documentation fix

    Fixed the documentation for any as is a trait rather than a type.
    Mikotochan committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    26e5fd4 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#66379 - CreepySkeleton:patch-1, r=RalfJung

    Rephrase docs in for ptr
    
    These methods can be supplied with NULL just fine, this is the whole point of `Option<&T>` return type.
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    54a3aa8 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#66613 - Areredify:trait-ref-print, r=eddyb

    Allow customising ty::TraitRef's printing behavior
    
    This pr allows to explicitly choose which representation of `TraitRef` (`<T as Trait<U>>` or `Trait<U>`) you want to print. `Debug` and `Display` representations of `TraitRef` now match.
    
    Closes rust-lang#59188.
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    9933b80 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#66766 - RalfJung:panic-comments, r=SimonSapin

    Panic machinery comments and tweaks
    
    This is mostly more comments, but I also renamed some things:
    * `BoxMeUp::box_me_up` is not terribly descriptive, and since this is a "take"-style method (the argument is `&mut self` but the return type is fully owned, even though you can't tell from the type) I chose a name involving "take".
    * `continue_panic_fmt` was very confusing as it was entirely unclear what was being continued -- for some time I thought "continue" might be the same as "resume" for a panic, but that's something entirely different. So I renamed this to `begin_panic_handler`, matching the `begin_panic*` theme of the other entry points.
    
    r? @Dylan-DPC @SimonSapin
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    535a09a View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#66789 - eddyb:mir-source-scope-local-data, …

    …r=oli-obk
    
    rustc: move mir::SourceScopeLocalData to a field of SourceScopeData.
    
    By having one `ClearCrossCrate<SourceScopeLocalData>` for each scope, as opposed to a single `ClearCrossCrate` for all the `SourceScopeLocalData`s, we can represent the fact that some scopes have `SourceScopeLocalData` associated with them, and some don't.
    
    This is useful when doing MIR inlining across crates, because the `ClearCrossCrate` will be `Clear` for the cross-crate MIR scopes and `Set` for the local ones.
    
    Also see rust-lang#66203 (comment) for some context around this approach.
    
    Fixes rust-lang#51314.
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    b3d835f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#66791 - cjgillot:arena, r=Mark-Simulacrum

    Handle GlobalCtxt directly from librustc_interface query system
    
    This PR constructs the `GlobalCtxt` as a member of the `Queries` in librustc_interface.
    This simplifies the code to construct it, at the expense of added complexity in the query control flow.
    This allows to handle the arenas directly from librustc_interface.
    
    Based on rust-lang#66707
    
    r? @Zoxc
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    9a32226 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#66793 - matthewjasper:record-static-refs, r…

    …=cramertj
    
    Record temporary static references in generator witnesses
    
    Closes rust-lang#66695
    
    * Record the pointer to static's type in MIR.
    * Normalize the static's type (so that constants can be compared correctly).
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    d54acc1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#66808 - GuillaumeGomez:cleanup-err-code-3, …

    …r=Dylan-DPC
    
    Cleanup error code
    
    r? @Dylan-DPC
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    45eacba View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#66826 - mlodato517:mlodato517-clarify-pr-me…

    …ssage-assigner, r=Dylan-DPC
    
    Clarifies how to tag users for assigning PRs
    
    Clarifies language of where to put `r?` text to assign a particular user. Mostly a follow up of [this discussion](rust-lang#66797 (comment)).
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    182a2ee View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#66837 - ohadravid:epsilon-doc, r=dtolnay

    Clarify `{f32,f64}::EPSILON` docs
    
    The doc for `EPSILON` says:
    >  This is the difference between `1.0` and the next **largest** representable number.
    
    Which is a bit unclear.
    
    [Wikipedia](https://en.wikipedia.org/wiki/Machine_epsilon) says
    > Machine epsilon is defined as the difference between 1 and the next **larger** floating point number
    
    So this PR update the docs to match the Wikipedia version.
    
    The original PR also has this in a [comment](rust-lang#50919 (comment)).
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    5ca191c View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#66844 - RalfJung:caller-location-leak, r=ol…

    …i-obk
    
    Miri: do not consider memory allocated by caller_location leaked
    
    Fixes rust-lang/miri#1071
    
    r? @oli-obk
    
    I am not sure if this is the best approach, but it certainly is the easiest.
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    d2aed25 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#66872 - Mikotochan:patch-1, r=jonas-schievink

    Minor documentation fix
    
    Fixed the documentation for any as is a trait rather than a type.
    RalfJung committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    7d0b1ab View commit details
    Browse the repository at this point in the history