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.95
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.97
Choose a head ref
  • 13 commits
  • 5 files changed
  • 2 contributors

Commits on Apr 24, 2025

  1. Ignore ignore_without_reason pedantic clippy lint in test

        warning: `#[ignore]` without reason
         --> tests/features.rs:2:1
          |
        2 | #[ignore]
          | ^^^^^^^^^
          |
          = help: add a reason with `= ".."`
          = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignore_without_reason
          = note: `-W clippy::ignore-without-reason` implied by `-W clippy::pedantic`
          = help: to override `-W clippy::pedantic` add `#[allow(clippy::ignore_without_reason)]`
    dtolnay committed Apr 24, 2025
    Configuration menu
    Copy the full SHA
    0e82bea View commit details
    Browse the repository at this point in the history

Commits on May 17, 2025

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

Commits on Jun 6, 2025

  1. Ignore mismatched_lifetime_syntaxes lint

        warning: lifetime flowing from input to output with different syntax can be confusing
           --> src/parse.rs:125:25
            |
        125 | fn block_comment(input: Cursor) -> PResult<&str> {
            |                         ^^^^^^     -------------
            |                         |          |       |
            |                         |          |       the lifetimes get resolved as `'_`
            |                         |          the lifetimes get resolved as `'_`
            |                         this lifetime flows to the output
            |
            = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
            |
        125 | fn block_comment(input: Cursor<'_>) -> PResult<'_, &str> {
            |                               ++++             +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
           --> src/parse.rs:318:25
            |
        318 | fn ident_not_raw(input: Cursor) -> PResult<&str> {
            |                         ^^^^^^     -------------
            |                         |          |       |
            |                         |          |       the lifetimes get resolved as `'_`
            |                         |          the lifetimes get resolved as `'_`
            |                         this lifetime flows to the output
            |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
            |
        318 | fn ident_not_raw(input: Cursor<'_>) -> PResult<'_, &str> {
            |                               ++++             +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
           --> src/parse.rs:474:35
            |
        474 | fn delimiter_of_raw_string(input: Cursor) -> PResult<&str> {
            |                                   ^^^^^^     -------------
            |                                   |          |       |
            |                                   |          |       the lifetimes get resolved as `'_`
            |                                   |          the lifetimes get resolved as `'_`
            |                                   this lifetime flows to the output
            |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
            |
        474 | fn delimiter_of_raw_string(input: Cursor<'_>) -> PResult<'_, &str> {
            |                                         ++++             +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
           --> src/parse.rs:957:32
            |
        957 | fn doc_comment_contents(input: Cursor) -> PResult<(&str, bool)> {
            |                                ^^^^^^     ---------------------
            |                                |          |        |
            |                                |          |        the lifetimes get resolved as `'_`
            |                                |          the lifetimes get resolved as `'_`
            |                                this lifetime flows to the output
            |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
            |
        957 | fn doc_comment_contents(input: Cursor<'_>) -> PResult<'_, (&str, bool)> {
            |                                      ++++             +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
           --> src/parse.rs:980:37
            |
        980 | fn take_until_newline_or_eof(input: Cursor) -> (Cursor, &str) {
            |                                     ^^^^^^      ------  ---- the lifetimes get resolved as `'_`
            |                                     |           |
            |                                     |           the lifetimes get resolved as `'_`
            |                                     this lifetime flows to the output
            |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
            |
        980 | fn take_until_newline_or_eof(input: Cursor<'_>) -> (Cursor<'_>, &str) {
            |                                           ++++            ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> src/rcvec.rs:33:24
           |
        33 |     pub(crate) fn iter(&self) -> slice::Iter<T> {
           |                        ^^^^^     -------------- the lifetime gets resolved as `'_`
           |                        |
           |                        this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        33 |     pub(crate) fn iter(&self) -> slice::Iter<'_, T> {
           |                                              +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> src/rcvec.rs:37:28
           |
        37 |     pub(crate) fn make_mut(&mut self) -> RcVecMut<T>
           |                            ^^^^^^^^^     ----------- the lifetime gets resolved as `'_`
           |                            |
           |                            this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        37 |     pub(crate) fn make_mut(&mut self) -> RcVecMut<'_, T>
           |                                                   +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> src/rcvec.rs:46:27
           |
        46 |     pub(crate) fn get_mut(&mut self) -> Option<RcVecMut<T>> {
           |                           ^^^^^^^^^            ----------- the lifetime gets resolved as `'_`
           |                           |
           |                           this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        46 |     pub(crate) fn get_mut(&mut self) -> Option<RcVecMut<'_, T>> {
           |                                                         +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> src/rcvec.rs:83:26
           |
        83 |     pub(crate) fn as_mut(&mut self) -> RcVecMut<T> {
           |                          ^^^^^^^^^     ----------- the lifetime gets resolved as `'_`
           |                          |
           |                          this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        83 |     pub(crate) fn as_mut(&mut self) -> RcVecMut<'_, T> {
           |                                                 +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
           --> src/rcvec.rs:105:26
            |
        105 |     pub(crate) fn as_mut(&mut self) -> RcVecMut<T> {
            |                          ^^^^^^^^^     ----------- the lifetime gets resolved as `'_`
            |                          |
            |                          this lifetime flows to the output
            |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
            |
        105 |     pub(crate) fn as_mut(&mut self) -> RcVecMut<'_, T> {
            |                                                 +++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
           --> src/fallback.rs:204:20
            |
        204 | fn get_cursor(src: &str) -> Cursor {
            |                    ^^^^     ------ the lifetime gets resolved as `'_`
            |                    |
            |                    this lifetime flows to the output
            |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
            |
        204 | fn get_cursor(src: &str) -> Cursor<'_> {
            |                                   ++++
    dtolnay committed Jun 6, 2025
    Configuration menu
    Copy the full SHA
    1ccc5a2 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

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

Commits on Aug 8, 2025

  1. Revert "Pin nightly toolchain used for miri job"

    This reverts commit 1091cc2.
    dtolnay committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    6f40165 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2025

  1. Configuration menu
    Copy the full SHA
    7be6983 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #511 from dtolnay/docsrs

    Revert "Work around doc build failure due to docs.rs flags change"
    dtolnay authored Aug 10, 2025
    Configuration menu
    Copy the full SHA
    fe7d2fa View commit details
    Browse the repository at this point in the history
  3. Release 1.0.96

    dtolnay committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    21f89e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2025

  1. build: allow the cleanup step to be non-fatal

    3e8962c (Clean up dep-info files from OUT_DIR, 2024-10-22)
    made the cleanup step a fatal operation when cleanup fails.
    
    Some filesystems (e.g. NFS v3) can run into timing issues under load
    where .nfs* dummy files can still exist for a short window of time after
    the probe command completes. One way this can happen is when other
    processes, such as a malware scanner, holds the files open in the
    background for a short period of time. This window of time is just long
    enough for a failure to occur in remove_all().
    
    Ignore DirectoryNotEmpty errors to account for this scenario.
    davvid committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    19cf120 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #505 from davvid/ignore-cleanup

    build: allow the cleanup step to be non-fatal
    dtolnay authored Aug 11, 2025
    Configuration menu
    Copy the full SHA
    ad59158 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7cc389b View commit details
    Browse the repository at this point in the history
  4. Merge pull request #512 from dtolnay/enotempty

    Restore support for rustc older than 1.83
    dtolnay authored Aug 11, 2025
    Configuration menu
    Copy the full SHA
    50fc514 View commit details
    Browse the repository at this point in the history
  5. Release 1.0.97

    dtolnay committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    b61379b View commit details
    Browse the repository at this point in the history
Loading