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

Syntax breaking batch #36857

Merged
merged 12 commits into from
Oct 1, 2016
Merged

Syntax breaking batch #36857

merged 12 commits into from
Oct 1, 2016

Commits on Sep 16, 2016

  1. Make the return type of AstBuilder.stmt_let_typed match the return ty…

    …pe of other AstBuilder.stmt* functions
    CensoredUsername committed Sep 16, 2016
    Configuration menu
    Copy the full SHA
    19e6f06 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2016

  1. Add attribute support to generic lifetime and type parameters.

    I am using `ThinAttributes` rather than a vector for attributes
    attached to generics, since I expect almost all lifetime and types
    parameters to not carry any attributes.
    pnkfelix committed Sep 23, 2016
    Configuration menu
    Copy the full SHA
    4c37ad6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c242fc3 View commit details
    Browse the repository at this point in the history
  3. Added tests and fixed corner case for trailing attributes with no att…

    …ached binding in generics.
    pnkfelix committed Sep 23, 2016
    Configuration menu
    Copy the full SHA
    3a9b7be View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2016

  1. Remove unused TypeError variants

    These weren't flagged by the lint because they were still technically
    created somewhere... if you created them before, somehow.
    jonas-schievink committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    69c3d0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf0b7bd View commit details
    Browse the repository at this point in the history
  3. libsyntax: clearer names for some AST parts

    This applies the HIR changes from the previous commits to the AST, and
    is thus a syntax-[breaking-change]
    
    Renames `PatKind::Vec` to `PatKind::Slice`, since these are called slice
    patterns, not vec patterns. Renames `TyKind::Vec`, which represents the
    type `[T]`, to `TyKind::Slice`. Renames `TyKind::FixedLengthVec` to
    `TyKind::Array`.
    jonas-schievink committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    48e5199 View commit details
    Browse the repository at this point in the history
  4. Fix tidy

    jonas-schievink committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    e59756e View commit details
    Browse the repository at this point in the history
  5. Fix rebase fallout

    jonas-schievink committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    bc2b283 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2016

  1. Rollup merge of rust-lang#35874 - CensoredUsername:stmt_let_typed_fix…

    …, r=Manishearth
    
     This commit makes the return type of AstBuilder.stmt_let_typed match the return type of other AstBuilder.stmt* functions. This avoids unnecessary boxing/unboxing whenever Stmt's are stored in a Vec, which is the default use case.nnThis is a potentially plugin breaking change.
    Manishearth committed Oct 1, 2016
    Configuration menu
    Copy the full SHA
    a73ba8b View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#36599 - jonas-schievink:whats-a-pirates-fav…

    …orite-data-structure, r=pnkfelix
    
     Contains a syntax-[breaking-change] as a separate commit (cc rust-lang#31645).nnAlso renames slice patterns from `PatKind::Vec` to `PatKind::Slice`.
    Manishearth committed Oct 1, 2016
    Configuration menu
    Copy the full SHA
    259d1fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    406fe7e View commit details
    Browse the repository at this point in the history