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 5 pull requests #84820

Closed
wants to merge 16 commits into from

Commits on Apr 21, 2021

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

Commits on Apr 30, 2021

  1. Move outer fields of enums into variant parts in debuginfo

    All fields except the discriminant (including `outer_fields`)
    should be put into structures inside the variant part, which gives
    an equivalent layout but offers us much better integration with
    debuggers.
    lrh2000 committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    060deec View commit details
    Browse the repository at this point in the history
  2. Remove artificial flag from generator variants

     - Literally, variants are not artificial. We have `yield` statements,
       upvars and inner variables in the source code.
     - Functionally, we don't want debuggers to suppress the variants. It
       contains the state of the generator, which is useful when debugging.
       So they shouldn't be marked artificial.
     - Debuggers may use artificial flags to find the active variant. In
       this case, marking variants artificial will make debuggers not work
       properly.
    
    Fixes rust-lang#79009.
    lrh2000 committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    5bf989e View commit details
    Browse the repository at this point in the history
  3. Update compiler-builtins to 0.1.41 to get fix for outlined atomics

    This should fix linking of other C code (and soon Rust-generated code)
    on aarch64 musl.
    joshtriplett committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    49e67c3 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2021

  1. compute where_outer on demand, remove it from Module

    Timothée Delabrouille committed May 1, 2021
    Configuration menu
    Copy the full SHA
    649bf22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08c4fbc View commit details
    Browse the repository at this point in the history
  3. Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rs

    Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
    ChrisPardy and nikomatsakis committed May 1, 2021
    Configuration menu
    Copy the full SHA
    25beade View commit details
    Browse the repository at this point in the history
  4. Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rs

    Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
    ChrisPardy and nikomatsakis committed May 1, 2021
    Configuration menu
    Copy the full SHA
    20a1315 View commit details
    Browse the repository at this point in the history
  5. Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rs

    Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
    ChrisPardy and nikomatsakis committed May 1, 2021
    Configuration menu
    Copy the full SHA
    e612f7a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d19c468 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2021

  1. fix nll test stderr

    ChrisPardy committed May 2, 2021
    Configuration menu
    Copy the full SHA
    404cc33 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#84358 - sexxi-goose:print_captures_borrowck…

    …_rebased, r=nikomatsakis
    
    Update closure capture error logging for disjoint captures for disjoint captures
    
    Improved error logging when `#![feature(capture_disjoint_fields)]` is used.
    
    Closes rust-lang/project-rfc-2229#8
    Closes rust-lang/project-rfc-2229#36
    Closes rust-lang/project-rfc-2229#39
    Closes rust-lang#76005
    Dylan-DPC authored May 2, 2021
    Configuration menu
    Copy the full SHA
    35c6902 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#84392 - dario23:fmt-assert-args-pub, r=vark…

    …or,RalfJung
    
    Make AssertKind::fmt_assert_args public
    Dylan-DPC authored May 2, 2021
    Configuration menu
    Copy the full SHA
    40ecdf2 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#84752 - lrh2000:generator-debuginfo, r=tmandry

    Fix debuginfo for generators
    
    First, all fields except the discriminant (including `outer_fields`) should be put into structures inside the variant part, which gives an equivalent layout but offers us much better integration with debuggers.
    
    Second, artificial flags in generator variants should be removed.
     - Literally, variants are not artificial. We have `yield` statements, upvars and inner variables in the source code.
     - Functionally, we don't want debuggers to suppress the variants. It contains the state of the generator, which is useful when debugging. So they shouldn't be marked artificial.
     - Debuggers may use artificial flags to find the active variant. In this case, marking variants artificial will make debuggers not work properly.
    
    Fixes rust-lang#62572.
    Fixes rust-lang#79009.
    
    And refer https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Debuginfo.20for.20generators.
    Dylan-DPC authored May 2, 2021
    Configuration menu
    Copy the full SHA
    e19183e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#84763 - tdelabro:shrink-doctree-module, r=j…

    …yn514
    
    shrink doctree::Module
    
    helps rust-lang#76382
    Dylan-DPC authored May 2, 2021
    Configuration menu
    Copy the full SHA
    2813a01 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#84764 - joshtriplett:update-compiler-builti…

    …ns, r=Amanieu
    
    Update compiler-builtins to 0.1.41 to get fix for outlined atomics
    
    This should fix linking of other C code (and soon Rust-generated code)
    on aarch64 musl.
    Dylan-DPC authored May 2, 2021
    Configuration menu
    Copy the full SHA
    2203284 View commit details
    Browse the repository at this point in the history