-
-
Notifications
You must be signed in to change notification settings - Fork 136
Comparing changes
Open a pull request
base repository: dtolnay/proc-macro2
base: 1.0.95
head repository: dtolnay/proc-macro2
compare: 1.0.97
- 13 commits
- 5 files changed
- 2 contributors
Commits on Apr 24, 2025
-
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)]`Configuration menu - View commit details
-
Copy full SHA for 0e82bea - Browse repository at this point
Copy the full SHA 0e82beaView commit details
Commits on May 17, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 1091cc2 - Browse repository at this point
Copy the full SHA 1091cc2View commit details
Commits on Jun 6, 2025
-
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<'_> { | ++++Configuration menu - View commit details
-
Copy full SHA for 1ccc5a2 - Browse repository at this point
Copy the full SHA 1ccc5a2View commit details
Commits on Jun 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for fc2ae0f - Browse repository at this point
Copy the full SHA fc2ae0fView commit details
Commits on Aug 8, 2025
-
Revert "Pin nightly toolchain used for miri job"
This reverts commit 1091cc2.
Configuration menu - View commit details
-
Copy full SHA for 6f40165 - Browse repository at this point
Copy the full SHA 6f40165View commit details
Commits on Aug 10, 2025
-
Revert "Work around doc build failure due to docs.rs flags change"
This reverts commit 1385671.
Configuration menu - View commit details
-
Copy full SHA for 7be6983 - Browse repository at this point
Copy the full SHA 7be6983View commit details -
Merge pull request #511 from dtolnay/docsrs
Revert "Work around doc build failure due to docs.rs flags change"
Configuration menu - View commit details
-
Copy full SHA for fe7d2fa - Browse repository at this point
Copy the full SHA fe7d2faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21f89e7 - Browse repository at this point
Copy the full SHA 21f89e7View commit details
Commits on Aug 11, 2025
-
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.
Configuration menu - View commit details
-
Copy full SHA for 19cf120 - Browse repository at this point
Copy the full SHA 19cf120View commit details -
Merge pull request #505 from davvid/ignore-cleanup
build: allow the cleanup step to be non-fatal
Configuration menu - View commit details
-
Copy full SHA for ad59158 - Browse repository at this point
Copy the full SHA ad59158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cc389b - Browse repository at this point
Copy the full SHA 7cc389bView commit details -
Merge pull request #512 from dtolnay/enotempty
Restore support for rustc older than 1.83
Configuration menu - View commit details
-
Copy full SHA for 50fc514 - Browse repository at this point
Copy the full SHA 50fc514View commit details -
Configuration menu - View commit details
-
Copy full SHA for b61379b - Browse repository at this point
Copy the full SHA b61379bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.0.95...1.0.97