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

Batch up libsyntax breaking changes #34424

Merged
merged 44 commits into from
Jun 28, 2016
Merged

Commits on Jun 13, 2016

  1. Add support for macro expansion inside trait items

    Joseph Dunne committed Jun 13, 2016
    Configuration menu
    Copy the full SHA
    dc3d878 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2016

  1. Remove inherent method attrs() on AST nodes. attrs() is now a met…

    …hod of trait `HasAttrs`.
    jseyfried committed Jun 14, 2016
    Configuration menu
    Copy the full SHA
    01a0877 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    febe6a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bf7970 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    683e480 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0644aba View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2016

  1. Configuration menu
    Copy the full SHA
    b5dbe01 View commit details
    Browse the repository at this point in the history
  2. Fix fallout

    jseyfried committed Jun 17, 2016
    Configuration menu
    Copy the full SHA
    962d5c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0b21c2 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2016

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

Commits on Jun 20, 2016

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

Commits on Jun 21, 2016

  1. Refactored tokentrees into their own files in preparation for tokenst…

    …reams. Modified tests to point to the new file now.
    cgswords authored and cgswords committed Jun 21, 2016
    Configuration menu
    Copy the full SHA
    d59accf View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2016

  1. Cleanup comments

    jseyfried committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    f6fe5b6 View commit details
    Browse the repository at this point in the history
  2. Move errors from libsyntax to its own crate

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    6ae3502 View commit details
    Browse the repository at this point in the history
  3. Address comments and fix travis warning

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    2829fbc View commit details
    Browse the repository at this point in the history
  4. Address more travis errors

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    51deb4f View commit details
    Browse the repository at this point in the history
  5. Consolidate codemap tests and fix more errors for travis

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    f2fe204 View commit details
    Browse the repository at this point in the history
  6. Fix touchy test to work with old and new error format

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    bad4869 View commit details
    Browse the repository at this point in the history
  7. Actually consolidate the CodeMap tests

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    b68e079 View commit details
    Browse the repository at this point in the history
  8. Move test helper functions to consolidated codemap testing

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    2b8bab0 View commit details
    Browse the repository at this point in the history
  9. Add missing refernce to RenderedLine

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    d4e79de View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b7da35a View commit details
    Browse the repository at this point in the history
  11. Avoid wasting node ids

    jseyfried committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    a48a4f5 View commit details
    Browse the repository at this point in the history
  12. Add regression test

    jseyfried committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    94479ad View commit details
    Browse the repository at this point in the history
  13. make old school mode a bit more configurable

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    80f1c78 View commit details
    Browse the repository at this point in the history
  14. Updating test I missed for old school refactor

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    bdd3f8f View commit details
    Browse the repository at this point in the history
  15. Add missing 'extern crate' for test

    Jonathan Turner committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    ea7ba12 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    060a84d View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2016

  1. Fix up rpass tests missing imports

    Jonathan Turner committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    f960f9e View commit details
    Browse the repository at this point in the history
  2. Fix rfail test missing import

    Jonathan Turner committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    89da728 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8cad251 View commit details
    Browse the repository at this point in the history
  4. Reexport syntax_pos in codemap and fix some cfail tests

    Jonathan Turner committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    f5259ab View commit details
    Browse the repository at this point in the history
  5. Fix codemap tests to not double import

    Jonathan Turner committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    9f2a507 View commit details
    Browse the repository at this point in the history
  6. reexport errors from syntax. fix failing cfail test

    Jonathan Turner committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    bc14006 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2016

  1. Rollup merge of rust-lang#34213 - josephDunne:trait_item_macros, r=js…

    …eyfried
    
    **syntax-[breaking-change]** cc rust-lang#31645
    New `TraitItemKind::Macro` variant
    
    This change adds support for macro expansion inside trait items by adding the new `TraitItemKind::Macro` and associated parsing code.
    jseyfried committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    f0310e0 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#34368 - petrochenkov:astqpath, r=Manishearth

    The AST part of rust-lang#34365
    
    plugin-[breaking-change] cc rust-lang#31645
    jseyfried committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    4e2e31c View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#34403 - jonathandturner:move_liberror, r=al…

    …excrichton
    
    This PR refactors the 'errors' part of libsyntax into its own crate (librustc_errors).  This is the first part of a few refactorings to simplify error reporting and potentially support more output formats (like a standardized JSON output and possibly an --explain mode that can work with the user's code), though this PR stands on its own and doesn't assume further changes.
    
    As part of separating out the errors crate, I have also refactored the code position portion of codemap into its own crate (libsyntax_pos).  While it's helpful to have the common code positions in a separate crate for the new errors crate, this may also enable further simplifications in the future.
    jseyfried committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    d3ae56d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2016

  1. Rollup merge of rust-lang#34385 - cgswords:tstream, r=nrc

    syntax-[breaking-change] cc rust-lang#31645
    (Only breaking because ast::TokenTree is now tokenstream::TokenTree.)
    
    This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566).
    jseyfried committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    82a15a6 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#33943 - jseyfried:libsyntax_cleanup, r=nrc

    Miscellaneous low priority cleanup in `libsyntax`.
    jseyfried committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    33ea1e3 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#34316 - jseyfried:refactor_ast_stmt, r=eddyb

    Refactor away `ast::Decl`, refactor `ast::Stmt`, and rename `ast::ExprKind::Again` to `ast::ExprKind::Continue`.
    jseyfried committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    8748cd9 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#34339 - jseyfried:thin_vec, r=petrochenkov,…

    …Manishearth
    
    Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`.
    jseyfried committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    8eddf02 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#34436 - jseyfried:no_block_expr, r=eddyb

    To allow these braced macro invocation, this PR removes the optional expression from `ast::Block` and instead uses a `StmtKind::Expr` at the end of the statement list.
    
    Currently, braced macro invocations in blocks can expand into statements (and items) except when they are last in a block, in which case they can only expand into expressions.
    
    For example,
    ```rust
    macro_rules! make_stmt {
        () => { let x = 0; }
    }
    
    fn f() {
        make_stmt! {} //< This is OK...
        let x = 0; //< ... unless this line is commented out.
    }
    ```
    
    Fixes rust-lang#34418.
    jseyfried committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    9bb3ea0 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2016

  1. Fix Cargo.tomls

    jseyfried committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    542ba8c View commit details
    Browse the repository at this point in the history
  2. Update src/rustc/Cargo.lock

    jseyfried committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    360dcae View commit details
    Browse the repository at this point in the history