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/proc-macro2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.51
Choose a base ref
...
head repository: dtolnay/proc-macro2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.52
Choose a head ref
  • 16 commits
  • 9 files changed
  • 1 contributor

Commits on Feb 11, 2023

  1. Ignore extra_unused_type_parameters clippy lint in test

        error: type parameter goes unused in function definition
          --> tests/marker.rs:10:34
           |
        10 |             fn assert_implemented<T: $($marker +)+>() {}
           |                                  ^^^^^^^^^^^^^^^^^^
        ...
        42 | assert_impl!(Delimiter is Send and Sync);
           | ---------------------------------------- in this macro invocation
           |
           = help: consider removing the parameter
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
           = note: `-D clippy::extra-unused-type-parameters` implied by `-D clippy::all`
           = note: this error originates in the macro `assert_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
    
        error: type parameter goes unused in function definition
          --> tests/marker.rs:10:34
           |
        10 |             fn assert_implemented<T: $($marker +)+>() {}
           |                                  ^^^^^^^^^^^^^^^^^^
        ...
        43 | assert_impl!(Spacing is Send and Sync);
           | -------------------------------------- in this macro invocation
           |
           = help: consider removing the parameter
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
           = note: this error originates in the macro `assert_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
    
        error: type parameter goes unused in function definition
          --> tests/marker.rs:10:34
           |
        10 |               fn assert_implemented<T: $($marker +)+>() {}
           |                                    ^^^^^^^^^^^^^^^^^^
        ...
        80 | /     assert_unwind_safe! {
        81 | |         Delimiter
        82 | |         Group
        83 | |         Ident
        ...  |
        90 | |         TokenTree
        91 | |     }
           | |_____- in this macro invocation
           |
           = help: consider removing the parameter
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
           = note: this error originates in the macro `assert_impl` which comes from the expansion of the macro `assert_unwind_safe` (in Nightly builds, run with -Z macro-backtrace for more info)
    dtolnay committed Feb 11, 2023
    Configuration menu
    Copy the full SHA
    4822d05 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2023

  1. Configuration menu
    Copy the full SHA
    82eb726 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9635ed9 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Ignore let_underscore_untyped pedantic clippy lint

        error: non-binding `let` without a type annotation
           --> src/fallback.rs:433:9
            |
        433 |         let _ = name;
            |         ^^^^^^^^^^^^^
            |
            = help: consider adding a type annotation or removing the `let` keyword
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
            = note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`
    
        error: non-binding `let` without a type annotation
           --> src/fallback.rs:940:21
            |
        940 |                     let _ = write!(escaped, "\\x{:02X}", b);
            |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider adding a type annotation or removing the `let` keyword
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
    dtolnay committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    a3fbb7d View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. Add Span size test

    dtolnay committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    31c0f43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    74443a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6083bef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1fa732 View commit details
    Browse the repository at this point in the history
  5. Fix warning on duplicate test ignore attribute

        warning: unused attribute
          --> tests/test_size.rs:27:60
           |
        27 | #[cfg_attr(not(all(wrap_proc_macro, not(span_locations))), ignore)]
           |                                                            ^^^^^^
           |
           = note: #[warn(unused_attributes)] on by default
    dtolnay committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    23d5478 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    68bfd52 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2023

  1. Configuration menu
    Copy the full SHA
    1e7fc7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0dc8736 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #366 from dtolnay-contrib/delim

    Add DelimSpan to hold the 3 different spans of a delimiter
    dtolnay authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    65699c4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    96da1a2 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #367 from dtolnay/fallback

    Rename 'stable' terminology to 'fallback'
    dtolnay authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    006d135 View commit details
    Browse the repository at this point in the history
  6. Release 1.0.52

    dtolnay committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    ab25487 View commit details
    Browse the repository at this point in the history
Loading