Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dtolnay/syn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.95
Choose a base ref
...
head repository: dtolnay/syn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.96
Choose a head ref
  • 18 commits
  • 10 files changed
  • 2 contributors

Commits on May 17, 2022

  1. Fix new broken_intra_doc_links warnings

        warning: unresolved link to `parse_macro_input`
          --> src/error.rs:28:37
           |
        28 | /// When parsing macro input, the [`parse_macro_input!`] macro handles the
           |                                     ^^^^^^^^^^^^^^^^^^ no item named `parse_macro_input` in scope
           |
           = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
           = note: `macro_rules` named `parse_macro_input` exists in this crate, but it is not in scope at this link's location
    
        warning: unresolved link to `parse_macro_input`
           --> src/parse.rs:246:13
            |
        246 | /// - The [`parse_macro_input!`] macro if parsing input of a procedural macro;
            |             ^^^^^^^^^^^^^^^^^^ no item named `parse_macro_input` in scope
            |
            = note: `macro_rules` named `parse_macro_input` exists in this crate, but it is not in scope at this link's location
    
        warning: unresolved link to `parse_macro_input`
           --> src/error.rs:190:15
            |
        190 |     /// The [`parse_macro_input!`] macro provides a convenient way to invoke
            |               ^^^^^^^^^^^^^^^^^^ no item named `parse_macro_input` in scope
            |
            = note: `macro_rules` named `parse_macro_input` exists in this crate, but it is not in scope at this link's location
    dtolnay committed May 17, 2022
    Configuration menu
    Copy the full SHA
    50805a9 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. Update test suite to nightly-2022-05-20

        error[E0277]: the trait bound `&rustc_ast::tokenstream::TokenTree: SpanlessEq` is not satisfied
           --> tests/common/eq.rs:510:16
            |
        510 |             if SpanlessEq::eq(&this, &other) {
            |                ^^^^^^^^^^^^^^ the trait `SpanlessEq` is not implemented for `&rustc_ast::tokenstream::TokenTree`
            |
            = help: the trait `SpanlessEq` is implemented for `rustc_ast::tokenstream::TokenTree`
    
        error[E0271]: type mismatch resolving `<CursorRef<'_> as Iterator>::Item == rustc_ast::tokenstream::TokenTree`
           --> tests/common/eq.rs:519:25
            |
        519 |                         doc_comment(*style, *symbol, &mut other_trees)
            |                         ^^^^^^^^^^^ expected enum `rustc_ast::tokenstream::TokenTree`, found `&rustc_ast::tokenstream::TokenTree`
            |
        note: required by a bound in `doc_comment`
           --> tests/common/eq.rs:537:31
            |
        534 | fn doc_comment(
            |    ----------- required by a bound in this
        ...
        537 |     trees: &mut impl Iterator<Item = TokenTree>,
            |                               ^^^^^^^^^^^^^^^^ required by this bound in `doc_comment`
    
        error[E0271]: type mismatch resolving `<CursorRef<'_> as Iterator>::Item == rustc_ast::tokenstream::TokenTree`
           --> tests/common/eq.rs:522:25
            |
        522 |                         doc_comment(*style, *symbol, &mut this_trees)
            |                         ^^^^^^^^^^^ expected enum `rustc_ast::tokenstream::TokenTree`, found `&rustc_ast::tokenstream::TokenTree`
            |
        note: required by a bound in `doc_comment`
           --> tests/common/eq.rs:537:31
            |
        534 | fn doc_comment(
            |    ----------- required by a bound in this
        ...
        537 |     trees: &mut impl Iterator<Item = TokenTree>,
            |                               ^^^^^^^^^^^^^^^^ required by this bound in `doc_comment`
    
        error[E0277]: can't compare `&Symbol` with `Symbol`
           --> tests/common/eq.rs:560:23
            |
        560 |         })) if symbol == sym::doc => {}
            |                       ^^ no implementation for `&Symbol == Symbol`
            |
            = help: the trait `PartialEq<Symbol>` is not implemented for `&Symbol`
            = help: the trait `PartialEq` is implemented for `Symbol`
    dtolnay committed May 20, 2022
    Configuration menu
    Copy the full SHA
    e077055 View commit details
    Browse the repository at this point in the history
  2. Fix needless_borrow lint in test

        error: this expression creates a reference which is immediately dereferenced by the compiler
           --> tests/common/eq.rs:572:38
            |
        572 |             is_escaped_literal_token(&token, unescaped) && trees.next().is_none()
            |                                      ^^^^^^ help: change this to: `token`
            |
            = note: `-D clippy::needless-borrow` implied by `-D clippy::all`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    dtolnay committed May 20, 2022
    Configuration menu
    Copy the full SHA
    7c9f307 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2022

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

Commits on May 22, 2022

  1. Use new name of eval order dependence lint

        warning: lint `clippy::eval_order_dependence` has been renamed to `clippy::mixed_read_write_in_expression`
           --> src/lib.rs:261:5
            |
        261 |     clippy::eval_order_dependence,
            |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::mixed_read_write_in_expression`
            |
            = note: `#[warn(renamed_and_removed_lints)]` on by default
    dtolnay committed May 22, 2022
    Configuration menu
    Copy the full SHA
    4951e8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6234202 View commit details
    Browse the repository at this point in the history
  3. Merge lint lists

    Lints move back and forth from pedantic to non-pedantic all the time, so
    whatever is here is definitely out of date and not particularly
    meaningful.
    dtolnay committed May 22, 2022
    Configuration menu
    Copy the full SHA
    5b0adb1 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Configuration menu
    Copy the full SHA
    9ccdbf1 View commit details
    Browse the repository at this point in the history
  2. Switch to imports_granularity=Item style for test rustc_ast imports

    This avoids this large block of imports getting rewrapped every time
    imports change, which made it hard to see what was being added/removed.
    dtolnay committed May 24, 2022
    Configuration menu
    Copy the full SHA
    396aa22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4e9c62 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    952b167 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Fix stmt_expr_attributes test

    dtolnay committed May 25, 2022
    Configuration menu
    Copy the full SHA
    f14a572 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Fix typo

    kianmeng committed May 30, 2022
    Configuration menu
    Copy the full SHA
    e39a204 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1181 from kianmeng/fix-typo

    Fix typo
    dtolnay authored May 30, 2022
    Configuration menu
    Copy the full SHA
    ded67c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Configuration menu
    Copy the full SHA
    f6ab69c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45b10cb View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1183 from dtolnay/punctmut

    Add syn::punctuated::Pair::punct_mut
    dtolnay authored Jun 2, 2022
    Configuration menu
    Copy the full SHA
    0f08f63 View commit details
    Browse the repository at this point in the history
  4. Release 1.0.96

    dtolnay committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    cb8760b View commit details
    Browse the repository at this point in the history
Loading