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

Closed
wants to merge 32 commits into from
Closed

Rollup of 11 pull requests #39536

wants to merge 32 commits into from

Commits on Jan 26, 2017

  1. Make builtin derives a SyntaxExtension

    This allows builtin derives to be registered and
    resolved, just like other derive types.
    keeperofdakeys committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    6690cfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcf859c View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2017

  1. rewrite the predecessors code to create a reduced graph

    The old code created a flat listing of "HIR -> WorkProduct" edges.
    While perfectly general, this could lead to a lot of repetition if the
    same HIR nodes affect many work-products. This is set to be a problem
    when we start to skip typeck, since we will be adding a lot more
    "work-product"-like nodes.
    
    The newer code uses an alternative strategy: it "reduces" the graph
    instead. Basically we walk the dep-graph and convert it to a DAG, where
    we only keep intermediate nodes if they are used by multiple
    work-products.
    
    This DAG does not contain the same set of nodes as the original graph,
    but it is guaranteed that (a) every output node is included in the graph
    and (b) the set of input nodes that can reach each output node is
    unchanged.
    
    (Input nodes are basically HIR nodes and foreign metadata; output nodes
    are nodes that have assocaited state which we will persist to disk in
    some way. These are assumed to be disjoint sets.)
    nikomatsakis committed Jan 31, 2017
    Configuration menu
    Copy the full SHA
    d848f1d View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2017

  1. Move derive macro expansion into the MacroExpander

    This removes the expand_derives function, and sprinkles
    the functionality throughout the Invocation Collector,
    Expander and Resolver.
    keeperofdakeys authored and keeper committed Feb 1, 2017
    Configuration menu
    Copy the full SHA
    b117bee View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2017

  1. Configuration menu
    Copy the full SHA
    395f23c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89f9767 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    823e185 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a0efdf3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e793eb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    51e5cb5 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2017

  1. rustbuild: Add x.py to source tarballs

    We should be sure to add our build system entry point!
    
    Closes rust-lang#39476
    alexcrichton committed Feb 3, 2017
    Configuration menu
    Copy the full SHA
    681bc5c View commit details
    Browse the repository at this point in the history
  2. make dirty process O(dirty)

    The old algorithm was O(graph)
    nikomatsakis committed Feb 3, 2017
    Configuration menu
    Copy the full SHA
    ef9ae85 View commit details
    Browse the repository at this point in the history
  3. s/in_index/input_index/

    nikomatsakis committed Feb 3, 2017
    Configuration menu
    Copy the full SHA
    afbf6c8 View commit details
    Browse the repository at this point in the history
  4. tiny doc wording change

    phungleson committed Feb 3, 2017
    Configuration menu
    Copy the full SHA
    3c020df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7abab8a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2a8ee8c View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2017

  1. Update relnotes for 1.15.1

    I already checked this into stable, but it needs to be on master/beta too.
    brson committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    d650cf5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3096e2 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#39486 - phungleson:tiny-doc-wording-change,…

    … r=alexcrichton
    
    Tiny doc wording change
    
    Fix rust-lang#39366
    GuillaumeGomez committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    d81b440 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#39506 - GuillaumeGomez:hashmap_docs, r=frew…

    …sxcv
    
    Add missing urls in HashMap
    
    r? @frewsxcv
    GuillaumeGomez committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    2ce93c1 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#39517 - brson:relnotes-151, r=alexcrichton

    Update relnotes for 1.15.1
    
    I already checked this into stable, but it needs to be on master/beta too.
    GuillaumeGomez committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    e204987 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#39424 - nikomatsakis:incr-comp-skip-typeck-…

    …3, r=mw
    
    rewrite the predecessors code to create a reduced graph
    
    The old code created a flat listing of "HIR -> WorkProduct" edges.
    While perfectly general, this could lead to a lot of repetition if the
    same HIR nodes affect many work-products. This is set to be a problem
    when we start to skip typeck, since we will be adding a lot more
    "work-product"-like nodes.
    
    The newer code uses an alternative strategy: it "reduces" the graph
    instead. Basically we walk the dep-graph and convert it to a DAG, where
    we only keep intermediate nodes if they are used by multiple
    work-products.
    
    This DAG does not contain the same set of nodes as the original graph,
    but it is guaranteed that (a) every output node is included in the graph
    and (b) the set of input nodes that can reach each output node is
    unchanged.
    
    (Input nodes are basically HIR nodes and foreign metadata; output nodes
    are nodes that have assocaited state which we will persist to disk in
    some way. These are assumed to be disjoint sets.)
    
    r? @michaelwoerister
    
    Fixes rust-lang#39494
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    3f518eb View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#39442 - keeperofdakeys:expand-derives, r=js…

    …eyfried
    
    Expand derive macros in the MacroExpander
    
    This removes the expand_derives function, and sprinkles the functionality throughout the Invocation Collector, Expander and Resolver.
    
    r? @jseyfried
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    f04ec68 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#39443 - phungleson:remove-unresolved-things…

    …, r=nikomatsakis
    
    Don't suggest to use things which weren't found either
    
    Fixes rust-lang#38054
    
    The best code I can come up with, suggestions are welcome.
    
    Basically, removing ```. Did you mean to use `DoesntExist1`?``` in the code below, because it is useless.
    
    ```rust
    error[E0432]: unresolved import `DoesntExist1`
     --> src/lib.rs:1:5
      |
    1 | use DoesntExist1;
      |     ^^^^^^^^^^^^ no `DoesntExist1` in the root
    
    error[E0432]: unresolved import `DoesntExist2`
     --> src/lib.rs:2:5
      |
    2 | use DoesntExist2;
      |     ^^^^^^^^^^^^ no `DoesntExist2` in the root. Did you mean to use `DoesntExist1`?
    ```
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    c3012c9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#39453 - nrc:save-path, r=nikomatsakis

    save-analysis: be more paranoid about generated paths
    
    fixes rust-lang/rls#160
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    8c29202 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#39454 - abonander:proc_macro_tracking_issue…

    …, r=jseyfried
    
    Change tracking issue for `proc_macro` feature to rust-lang#38356
    
    r? @jseyfried
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    c06488b View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#39471 - djc:bootstrap-user, r=alexcrichton

    Fix bootstrap.py issues with new rustbuild build system (fixes rust-lang#39469)
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    0f219a0 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#39478 - alexcrichton:add-xpy, r=japaric

    rustbuild: Add x.py to source tarballs
    
    We should be sure to add our build system entry point!
    
    Closes rust-lang#39476
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    e3576e2 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#39486 - phungleson:tiny-doc-wording-change,…

    … r=alexcrichton
    
    Tiny doc wording change
    
    Fix rust-lang#39366
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    c34e932 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#39506 - GuillaumeGomez:hashmap_docs, r=frew…

    …sxcv
    
    Add missing urls in HashMap
    
    r? @frewsxcv
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    9357ab6 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#39517 - brson:relnotes-151, r=alexcrichton

    Update relnotes for 1.15.1
    
    I already checked this into stable, but it needs to be on master/beta too.
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    596eb0e View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#39533 - GuillaumeGomez:rollup, r=GuillaumeG…

    …omez
    
    Rollup of 3 pull requests
    
    - Successful merges: rust-lang#39486, rust-lang#39506, rust-lang#39517
    - Failed merges:
    frewsxcv committed Feb 4, 2017
    Configuration menu
    Copy the full SHA
    e8511ae View commit details
    Browse the repository at this point in the history