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

Merged
merged 25 commits into from
Jan 4, 2020
Merged

Rollup of 8 pull requests #67853

merged 25 commits into from
Jan 4, 2020

Commits on Dec 22, 2019

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

Commits on Dec 23, 2019

  1. Configuration menu
    Copy the full SHA
    8d189ed View commit details
    Browse the repository at this point in the history
  2. Add more detailed suggestion

    VirrageS committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    8e5b2c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0918539 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7353afd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2168c0b View commit details
    Browse the repository at this point in the history
  6. Simplify match expr

    VirrageS committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    7b91ef8 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2020

  1. Add a test for rust-lang#37333

    The test checks that we reuse the CGU of a crate when the implementation
    details of an `extern crate` have changed.
    
    Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
    michalt committed Jan 1, 2020
    Configuration menu
    Copy the full SHA
    cfab634 View commit details
    Browse the repository at this point in the history
  2. Cleanup linkchecker whitelist

    linkchecker is no longer run on the compiler docs so they can be removed from the whitelist.
    ollie27 committed Jan 1, 2020
    Configuration menu
    Copy the full SHA
    23f5431 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. Configuration menu
    Copy the full SHA
    75e4783 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ff12ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1aad76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bebdb44 View commit details
    Browse the repository at this point in the history
  5. fix src/test fallout

    Centril committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    6e4ea14 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2020

  1. Configuration menu
    Copy the full SHA
    485e98a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fd014d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae002c1 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2020

  1. Rollup merge of rust-lang#66913 - VirrageS:help-self, r=varkor,Centril

    Suggest calling method when first argument is `self`
    
    Closes: rust-lang#66782
    
    I've explored different approaches for this MR but I think the most straightforward is the best one.
    
    I've tried to find out if the methods for given type exist (to maybe have a better suggestion), but we don't collect them anywhere and collecting them is quite problematic. Moreover, collecting all the methods would require rewriting big part of the code and also could potentially include performance degradation, which I don't think is necessary for this simple case.
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    a436293 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#67531 - RalfJung:tame-promotion, r=nikomats…

    …akis
    
    no longer promote non-pattern const functions
    
    This is trying to pack-pedal a bit on promotion feature creep, as proposed by @eddyb [here](rust-lang/const-eval#19 (comment)): possibly, a sane subset of `const fn` that we could promote are those that are just constructors -- the same subset that we might want to allow in pattern position at some point.
    
    So, this removes the `rustc_promotable` attribute from the three functions they identified that do not fit this pattern. The first step is to run crater to see if there is code in the wild that relies on this being promotable.
    
    r? @oli-obk
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    85277ff View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#67773 - michalt:issue-37333-test, r=nikomat…

    …sakis
    
    Add a test for rust-lang#37333
    
    The test checks that we reuse the CGU of a crate when the implementation
    details of an `extern crate` have changed.
    
    Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    93ff897 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#67786 - Centril:canon-span, r=petrochenkov

    Nix reexports from `rustc_span` in `syntax`
    
    Remove reexports `syntax::{source_map, symbol, edition}` and use `rustc_span` paths directly.
    
    r? @petrochenkov
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    814e3af View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#67789 - ollie27:linkchecker_whitelist, r=ni…

    …komatsakis
    
    Cleanup linkchecker whitelist
    
    linkchecker is no longer run on the compiler docs so they can be removed from the whitelist.
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    e72a214 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#67810 - crlf0710:uncommon_codepoints_lint, …

    …r=Manishearth
    
    Implement uncommon_codepoints lint.
    
    Part of rust-lang#55467 .  The checks of `$crate` and `{{root}}` are very unfortunate. But i'm not sure where they belongs to.
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    b32dc91 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#67835 - euclio:delimiter-wording, r=Centril

    tweak wording of mismatched delimiter errors
    
    This PR improves the wording of the "incorrect delimiter" error messages. Here's a quick rationale:
    
    - *"un-closed" -> "unclosed"*: "unclosed" is valid English, so there's no need to hyphenate the prefix. This should be pretty uncontroversial, I think.
    - *"close delimiter" -> "closing delimiter"*: In my anecdotal experience, I've always heard "closing delimiter" or "closing parenthesis". In addition, the codebase already uses this terminology in comments and function names more than "close delimiter", which could indicate that it's more intuitive.
    - "incorrect delimiter" -> "mismatched delimiter": "Incorrect delimiter" is vague; why is it incorrect? "mismatched" clearly indicates why the delimiter is causing the error.
    
    r? @estebank
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    689e29f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#67845 - jumbatm:also-unconst-hack-abs, r=ol…

    …i-obk
    
    Also remove const-hack for abs
    
    Closes rust-lang#67842.
    
    r? @oli-obk
    Centril authored Jan 4, 2020
    Configuration menu
    Copy the full SHA
    745f771 View commit details
    Browse the repository at this point in the history