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: 2.0.98
Choose a base ref
...
head repository: dtolnay/syn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.100
Choose a head ref
  • 20 commits
  • 39 files changed
  • 2 contributors

Commits on Feb 6, 2025

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

Commits on Feb 7, 2025

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

Commits on Feb 8, 2025

  1. Ignore format_push_string pedantic clippy lint

        warning: `format!(..)` appended to existing `String`
          --> src/css.rs:12:9
           |
        12 |         styles += &format!("a.struct[title=\"struct syn::token::{ty}\"],\n");
           |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider using `write!` to avoid the extra allocation
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
           = note: `-W clippy::format-push-string` implied by `-W clippy::pedantic`
           = help: to override `-W clippy::pedantic` add `#[allow(clippy::format_push_string)]`
    
        warning: `format!(..)` appended to existing `String`
          --> src/css.rs:24:9
           |
        24 |         styles += &format!("a.struct[title=\"struct syn::token::{ty}\"]::before,\n");
           |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider using `write!` to avoid the extra allocation
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
    
        warning: `format!(..)` appended to existing `String`
          --> src/css.rs:40:9
           |
        40 | /         styles += &match Ord::cmp(&macro_len, &ty_len) {
        41 | |             Ordering::Less => {
        42 | |                 shrink
        43 | |                     .entry((macro_len, ty_len))
        ...  |
        63 | |         };
           | |_________^
           |
           = help: consider using `write!` to avoid the extra allocation
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
    
        warning: `format!(..)` appended to existing `String`
          --> src/css.rs:67:13
           |
        67 |             styles += &format!("\na.struct[title=\"struct syn::token::{ty}\"],");
           |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider using `write!` to avoid the extra allocation
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
    
        warning: `format!(..)` appended to existing `String`
          --> src/css.rs:70:9
           |
        70 | /         styles += &formatdoc! {"
        71 | |              {{
        72 | |             \tfont-size: calc(100% * {macro_len} / {ty_len});
        73 | |             }}
        74 | |         "};
           | |__________^
           |
           = help: consider using `write!` to avoid the extra allocation
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
    
        warning: `format!(..)` appended to existing `String`
          --> src/css.rs:78:13
           |
        78 |             styles += &format!("\na.struct[title=\"struct syn::token::{ty}\"]::after,");
           |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider using `write!` to avoid the extra allocation
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
    
        warning: `format!(..)` appended to existing `String`
          --> src/css.rs:82:9
           |
        82 | /         styles += &formatdoc! {"
        83 | |              {{
        84 | |             \tcontent: \"{padding}\";
        85 | |             }}
        86 | |         "};
           | |__________^
           |
           = help: consider using `write!` to avoid the extra allocation
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
    dtolnay committed Feb 8, 2025
    Configuration menu
    Copy the full SHA
    af12bda View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2025

  1. Unset doc-scrape-examples for lib target

    False is the default value since Cargo PR 11499.
    dtolnay committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    076ac95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5cffd62 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2025

  1. Configuration menu
    Copy the full SHA
    5357d54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88f0820 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1848 from findepi/findepi/remove-obsolete-clippy-…

    …suppressions-09e33d
    
    Remove obsolete clippy suppressions
    dtolnay authored Feb 13, 2025
    Configuration menu
    Copy the full SHA
    fdbed64 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2025

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

Commits on Mar 3, 2025

  1. Ignore elidable_lifetime_names pedantic clippy lint

        warning: the following explicit lifetimes could be elided: 'a
           --> src/attr.rs:764:10
            |
        764 |     impl<'a> Display for DisplayAttrStyle<'a> {
            |          ^^                               ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
            = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
            = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
            |
        764 -     impl<'a> Display for DisplayAttrStyle<'a> {
        764 +     impl Display for DisplayAttrStyle<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/attr.rs:775:10
            |
        775 |     impl<'a> Display for DisplayPath<'a> {
            |          ^^                          ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        775 -     impl<'a> Display for DisplayPath<'a> {
        775 +     impl Display for DisplayPath<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/buffer.rs:381:6
            |
        381 | impl<'a> Copy for Cursor<'a> {}
            |      ^^                  ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        381 - impl<'a> Copy for Cursor<'a> {}
        381 + impl Copy for Cursor<'_> {}
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/buffer.rs:383:6
            |
        383 | impl<'a> Clone for Cursor<'a> {
            |      ^^                   ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        383 - impl<'a> Clone for Cursor<'a> {
        383 + impl Clone for Cursor<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/buffer.rs:389:6
            |
        389 | impl<'a> Eq for Cursor<'a> {}
            |      ^^                ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        389 - impl<'a> Eq for Cursor<'a> {}
        389 + impl Eq for Cursor<'_> {}
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/buffer.rs:391:6
            |
        391 | impl<'a> PartialEq for Cursor<'a> {
            |      ^^                       ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        391 - impl<'a> PartialEq for Cursor<'a> {
        391 + impl PartialEq for Cursor<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/buffer.rs:397:6
            |
        397 | impl<'a> PartialOrd for Cursor<'a> {
            |      ^^                        ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        397 - impl<'a> PartialOrd for Cursor<'a> {
        397 + impl PartialOrd for Cursor<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/data.rs:207:6
            |
        207 | impl<'a> Iterator for Members<'a> {
            |      ^^                       ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        207 - impl<'a> Iterator for Members<'a> {
        207 + impl Iterator for Members<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/data.rs:230:6
            |
        230 | impl<'a> Clone for Members<'a> {
            |      ^^                    ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        230 - impl<'a> Clone for Members<'a> {
        230 + impl Clone for Members<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/error.rs:451:6
            |
        451 | impl<'a> Iterator for Iter<'a> {
            |      ^^                    ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        451 - impl<'a> Iterator for Iter<'a> {
        451 + impl Iterator for Iter<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/generics.rs:345:6
            |
        345 | impl<'a> TypeGenerics<'a> {
            |      ^^               ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        345 - impl<'a> TypeGenerics<'a> {
        345 + impl TypeGenerics<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
            --> src/generics.rs:1125:10
             |
        1125 |     impl<'a> ToTokens for ImplGenerics<'a> {
             |          ^^                            ^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
             |
        1125 -     impl<'a> ToTokens for ImplGenerics<'a> {
        1125 +     impl ToTokens for ImplGenerics<'_> {
             |
    
        warning: the following explicit lifetimes could be elided: 'a
            --> src/generics.rs:1177:10
             |
        1177 |     impl<'a> ToTokens for TypeGenerics<'a> {
             |          ^^                            ^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
             |
        1177 -     impl<'a> ToTokens for TypeGenerics<'a> {
        1177 +     impl ToTokens for TypeGenerics<'_> {
             |
    
        warning: the following explicit lifetimes could be elided: 'a
            --> src/generics.rs:1222:10
             |
        1222 |     impl<'a> ToTokens for Turbofish<'a> {
             |          ^^                         ^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
             |
        1222 -     impl<'a> ToTokens for Turbofish<'a> {
        1222 +     impl ToTokens for Turbofish<'_> {
             |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/lookahead.rs:88:6
           |
        88 | impl<'a> Lookahead1<'a> {
           |      ^^             ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        88 - impl<'a> Lookahead1<'a> {
        88 + impl Lookahead1<'_> {
           |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/discouraged.rs:167:6
            |
        167 | impl<'a> Speculative for ParseBuffer<'a> {
            |      ^^                              ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        167 - impl<'a> Speculative for ParseBuffer<'a> {
        167 + impl Speculative for ParseBuffer<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/discouraged.rs:211:6
            |
        211 | impl<'a> AnyDelimiter for ParseBuffer<'a> {
            |      ^^                               ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        211 - impl<'a> AnyDelimiter for ParseBuffer<'a> {
        211 + impl AnyDelimiter for ParseBuffer<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/parse.rs:264:6
            |
        264 | impl<'a> Drop for ParseBuffer<'a> {
            |      ^^                       ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        264 - impl<'a> Drop for ParseBuffer<'a> {
        264 + impl Drop for ParseBuffer<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/parse.rs:276:6
            |
        276 | impl<'a> Display for ParseBuffer<'a> {
            |      ^^                          ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        276 - impl<'a> Display for ParseBuffer<'a> {
        276 + impl Display for ParseBuffer<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/parse.rs:282:6
            |
        282 | impl<'a> Debug for ParseBuffer<'a> {
            |      ^^                        ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        282 - impl<'a> Debug for ParseBuffer<'a> {
        282 + impl Debug for ParseBuffer<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/parse.rs:288:6
            |
        288 | impl<'a> UnwindSafe for ParseBuffer<'a> {}
            |      ^^                             ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        288 - impl<'a> UnwindSafe for ParseBuffer<'a> {}
        288 + impl UnwindSafe for ParseBuffer<'_> {}
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/parse.rs:289:6
            |
        289 | impl<'a> RefUnwindSafe for ParseBuffer<'a> {}
            |      ^^                                ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        289 - impl<'a> RefUnwindSafe for ParseBuffer<'a> {}
        289 + impl RefUnwindSafe for ParseBuffer<'_> {}
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/parse.rs:350:10
            |
        350 | impl<'c, 'a> Deref for StepCursor<'c, 'a> {
            |          ^^                           ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        350 - impl<'c, 'a> Deref for StepCursor<'c, 'a> {
        350 + impl<'c> Deref for StepCursor<'c, '_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'c, 'a
           --> src/parse.rs:358:6
            |
        358 | impl<'c, 'a> Copy for StepCursor<'c, 'a> {}
            |      ^^  ^^                      ^^  ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        358 - impl<'c, 'a> Copy for StepCursor<'c, 'a> {}
        358 + impl Copy for StepCursor<'_, '_> {}
            |
    
        warning: the following explicit lifetimes could be elided: 'c, 'a
           --> src/parse.rs:360:6
            |
        360 | impl<'c, 'a> Clone for StepCursor<'c, 'a> {
            |      ^^  ^^                       ^^  ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        360 - impl<'c, 'a> Clone for StepCursor<'c, 'a> {
        360 + impl Clone for StepCursor<'_, '_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'c, 'a
           --> src/parse.rs:366:6
            |
        366 | impl<'c, 'a> StepCursor<'c, 'a> {
            |      ^^  ^^             ^^  ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        366 - impl<'c, 'a> StepCursor<'c, 'a> {
        366 + impl StepCursor<'_, '_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/path.rs:956:18
            |
        956 |             impl<'a> ToTokens for QSelfDelimiters<'a> {
            |                  ^^                               ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        956 -             impl<'a> ToTokens for QSelfDelimiters<'a> {
        956 +             impl ToTokens for QSelfDelimiters<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
         --> src/print.rs:6:6
          |
        6 | impl<'a, T> ToTokens for TokensOrDefault<'a, T>
          |      ^^                                  ^^
          |
          = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
          |
        6 - impl<'a, T> ToTokens for TokensOrDefault<'a, T>
        6 + impl<T> ToTokens for TokensOrDefault<'_, T>
          |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:580:6
            |
        580 | impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P> {
            |      ^^                                      ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        580 - impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P> {
        580 + impl<T, P> DoubleEndedIterator for Pairs<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:589:6
            |
        589 | impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P> {
            |      ^^                                    ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        589 - impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P> {
        589 + impl<T, P> ExactSizeIterator for Pairs<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:596:6
            |
        596 | impl<'a, T, P> Clone for Pairs<'a, T, P> {
            |      ^^                        ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        596 - impl<'a, T, P> Clone for Pairs<'a, T, P> {
        596 + impl<T, P> Clone for Pairs<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:630:6
            |
        630 | impl<'a, T, P> DoubleEndedIterator for PairsMut<'a, T, P> {
            |      ^^                                         ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        630 - impl<'a, T, P> DoubleEndedIterator for PairsMut<'a, T, P> {
        630 + impl<T, P> DoubleEndedIterator for PairsMut<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:639:6
            |
        639 | impl<'a, T, P> ExactSizeIterator for PairsMut<'a, T, P> {
            |      ^^                                       ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        639 - impl<'a, T, P> ExactSizeIterator for PairsMut<'a, T, P> {
        639 + impl<T, P> ExactSizeIterator for PairsMut<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:775:6
            |
        775 | impl<'a, T> Clone for Iter<'a, T> {
            |      ^^                    ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        775 - impl<'a, T> Clone for Iter<'a, T> {
        775 + impl<T> Clone for Iter<'_, T> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:795:6
            |
        795 | impl<'a, T> DoubleEndedIterator for Iter<'a, T> {
            |      ^^                                  ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        795 - impl<'a, T> DoubleEndedIterator for Iter<'a, T> {
        795 + impl<T> DoubleEndedIterator for Iter<'_, T> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:801:6
            |
        801 | impl<'a, T> ExactSizeIterator for Iter<'a, T> {
            |      ^^                                ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        801 - impl<'a, T> ExactSizeIterator for Iter<'a, T> {
        801 + impl<T> ExactSizeIterator for Iter<'_, T> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:818:6
            |
        818 | impl<'a, T, P> DoubleEndedIterator for PrivateIter<'a, T, P> {
            |      ^^                                            ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        818 - impl<'a, T, P> DoubleEndedIterator for PrivateIter<'a, T, P> {
        818 + impl<T, P> DoubleEndedIterator for PrivateIter<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:826:6
            |
        826 | impl<'a, T, P> ExactSizeIterator for PrivateIter<'a, T, P> {
            |      ^^                                          ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        826 - impl<'a, T, P> ExactSizeIterator for PrivateIter<'a, T, P> {
        826 + impl<T, P> ExactSizeIterator for PrivateIter<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:833:6
            |
        833 | impl<'a, T, P> Clone for PrivateIter<'a, T, P> {
            |      ^^                              ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        833 - impl<'a, T, P> Clone for PrivateIter<'a, T, P> {
        833 + impl<T, P> Clone for PrivateIter<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:901:6
            |
        901 | impl<'a, T> DoubleEndedIterator for IterMut<'a, T> {
            |      ^^                                     ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        901 - impl<'a, T> DoubleEndedIterator for IterMut<'a, T> {
        901 + impl<T> DoubleEndedIterator for IterMut<'_, T> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:907:6
            |
        907 | impl<'a, T> ExactSizeIterator for IterMut<'a, T> {
            |      ^^                                   ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        907 - impl<'a, T> ExactSizeIterator for IterMut<'a, T> {
        907 + impl<T> ExactSizeIterator for IterMut<'_, T> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:924:6
            |
        924 | impl<'a, T, P> DoubleEndedIterator for PrivateIterMut<'a, T, P> {
            |      ^^                                               ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        924 - impl<'a, T, P> DoubleEndedIterator for PrivateIterMut<'a, T, P> {
        924 + impl<T, P> DoubleEndedIterator for PrivateIterMut<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/punctuated.rs:932:6
            |
        932 | impl<'a, T, P> ExactSizeIterator for PrivateIterMut<'a, T, P> {
            |      ^^                                             ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        932 - impl<'a, T, P> ExactSizeIterator for PrivateIterMut<'a, T, P> {
        932 + impl<T, P> ExactSizeIterator for PrivateIterMut<'_, T, P> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
         --> src/tt.rs:6:6
          |
        6 | impl<'a> PartialEq for TokenTreeHelper<'a> {
          |      ^^                                ^^
          |
          = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
          |
        6 - impl<'a> PartialEq for TokenTreeHelper<'a> {
        6 + impl PartialEq for TokenTreeHelper<'_> {
          |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/tt.rs:48:6
           |
        48 | impl<'a> Hash for TokenTreeHelper<'a> {
           |      ^^                           ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        48 - impl<'a> Hash for TokenTreeHelper<'a> {
        48 + impl Hash for TokenTreeHelper<'_> {
           |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/tt.rs:83:6
           |
        83 | impl<'a> PartialEq for TokenStreamHelper<'a> {
           |      ^^                                  ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        83 - impl<'a> PartialEq for TokenStreamHelper<'a> {
        83 + impl PartialEq for TokenStreamHelper<'_> {
           |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/tt.rs:99:6
           |
        99 | impl<'a> Hash for TokenStreamHelper<'a> {
           |      ^^                             ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        99 - impl<'a> Hash for TokenStreamHelper<'a> {
        99 + impl Hash for TokenStreamHelper<'_> {
           |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> tests/common/eq.rs:263:6
            |
        263 | impl<'a, T: ?Sized + ToOwned + SpanlessEq> SpanlessEq for Cow<'a, T> {
            |      ^^                                                       ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
            = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
            = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
            |
        263 - impl<'a, T: ?Sized + ToOwned + SpanlessEq> SpanlessEq for Cow<'a, T> {
        263 + impl<T: ?Sized + ToOwned + SpanlessEq> SpanlessEq for Cow<'_, T> {
            |
    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    f4d8f0e View commit details
    Browse the repository at this point in the history
  2. Release 2.0.99

    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    4552057 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2025

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

Commits on Mar 8, 2025

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

Commits on Mar 9, 2025

  1. Configuration menu
    Copy the full SHA
    90381ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c38857a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bf0a11d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22bd069 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    01a9e6d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1852 from dtolnay/tokenstream

    Visit TokenStream in generated syntax tree traversals
    dtolnay authored Mar 9, 2025
    Configuration menu
    Copy the full SHA
    78a1efb View commit details
    Browse the repository at this point in the history
  7. Release 2.0.100

    dtolnay committed Mar 9, 2025
    Configuration menu
    Copy the full SHA
    5357c8f View commit details
    Browse the repository at this point in the history
Loading