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

Closed
wants to merge 19 commits into from

Commits on Mar 20, 2020

  1. Store idents for DefPathData into crate metadata

    Previously, we threw away the `Span` associated with a definition's
    identifier when we encoded crate metadata, causing us to lose location
    and hygiene information.
    
    We now store the identifier's `Span` in the crate metadata.
    When we decode items from the metadata, we combine
    the name and span back into an `Ident`.
    
    This improves the output of several tests, which previously had messages
    suppressed due to dummy spans.
    
    This is a prerequisite for rust-lang#68686, since throwing away a `Span` means
    that we lose hygiene information.
    Aaron1011 committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    1f13a4f View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2020

  1. Configuration menu
    Copy the full SHA
    e991df8 View commit details
    Browse the repository at this point in the history
  2. Bless tests

    LeSeulArtichaut committed Mar 21, 2020
    Configuration menu
    Copy the full SHA
    cb7a2c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d18ed20 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eaa0ae5 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2020

  1. Configuration menu
    Copy the full SHA
    0c5c3bb View commit details
    Browse the repository at this point in the history
  2. simplify eval_mir_constant

    lcnr committed Mar 22, 2020
    Configuration menu
    Copy the full SHA
    ed48853 View commit details
    Browse the repository at this point in the history
  3. rename tests

    lcnr committed Mar 22, 2020
    Configuration menu
    Copy the full SHA
    8533778 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    263cbd1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    52fbd3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    94bbd46 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    854b78f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9175940 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#69942 - estebank:sized-verbose-sugg, r=matt…

    …hewjasper
    
    Increase verbosity when suggesting subtle code changes
    
    Do not suggest changes that are actually quite small inline, to minimize the likelihood of confusion.
    
    Fix rust-lang#69243.
    Dylan-DPC authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    09d71fd View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#70077 - Aaron1011:feature/new-def-path-iden…

    …t, r=petrochenkov
    
    Store idents for `DefPathData` into crate metadata
    
    Previously, we threw away the `Span` associated with a definition's
    identifier when we encoded crate metadata, causing us to lose location
    and hygiene information.
    
    We now store the identifier's `Span` in a side table, which gets encoded
    into the crate metadata. When we decode items from the metadata, we
    combine the name and span back into an `Ident`.
    
    This improves the output of several tests, which previously had messages
    suppressed due to dummy spans.
    
    This is a prerequisite for rust-lang#68686, since throwing away a `Span` means
    that we lose hygiene information.
    Dylan-DPC authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    8ac0d71 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#70227 - LeSeulArtichaut:typo-def, r=Centril

    Only display definition when suggesting a typo
    
    Closes rust-lang#70206
    r? @Centril
    Dylan-DPC authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    b6a8a41 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#70248 - Centril:unroot, r=petrochenkov

    parser: simplify & remove unused field
    
    r? @petrochenkov
    Dylan-DPC authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    8d61584 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#70249 - lcnr:issue70125, r=eddyb

    handle ConstKind::Unresolved after monomorphizing
    
    fixes rust-lang#70125
    
    r? @bjorn3
    Dylan-DPC authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    390088c View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#70269 - matthiaskrgr:clippy_closures, r=Dyl…

    …an-DPC
    
    remove redundant closures (clippy::redundant_closure)
    Dylan-DPC authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    f063531 View commit details
    Browse the repository at this point in the history