- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 116
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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.65
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: dtolnay/proc-macro2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.66
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
1
contributor
Commits on Jul 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e4be003 - Browse repository at this point
Copy the full SHA e4be003View commit details -
Resolve unnested_or_patterns pedantic clippy lint
warning: unnested or-patterns --> src/parse.rs:387:17 | 387 | / Some((_, 'n')) | Some((_, 'r')) | Some((_, 't')) | Some((_, '\\')) 388 | | | Some((_, '\'')) | Some((_, '"')) | Some((_, '0')) => {} | |___________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 387 | Some((_, 'n' | 'r' | 't' | '\\' | '\'' | '"' | '0')) => {} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:392:17 | 392 | Some((newline, ch @ '\n')) | Some((newline, ch @ '\r')) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 392 | Some((newline, ch @ ('\n' | '\r'))) => { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:450:17 | 450 | / Some((_, b'n')) | Some((_, b'r')) | Some((_, b't')) | Some((_, b'\\')) 451 | | | Some((_, b'0')) | Some((_, b'\'')) | Some((_, b'"')) => {} | |______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 450 | Some((_, b'n' | b'r' | b't' | b'\\' | b'0' | b'\'' | b'"')) => {} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:452:17 | 452 | Some((newline, b @ b'\n')) | Some((newline, b @ b'\r')) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 452 | Some((newline, b @ (b'\n' | b'\r'))) => { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:553:17 | 553 | / Some((_, 'n')) | Some((_, 'r')) | Some((_, 't')) | Some((_, '\\')) 554 | | | Some((_, '\'')) | Some((_, '"')) => {} | |__________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 553 | Some((_, 'n' | 'r' | 't' | '\\' | '\'' | '"')) => {} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:560:17 | 560 | Some((newline, ch @ '\n')) | Some((newline, ch @ '\r')) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 560 | Some((newline, ch @ ('\n' | '\r'))) => { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:580:13 | 580 | / Some(b'n') | Some(b'r') | Some(b't') | Some(b'\\') | Some(b'0') | Some(b'\'') 581 | | | Some(b'"') => true, | |________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 580 | Some(b'n' | b'r' | b't' | b'\\' | b'0' | b'\'' | b'"') => true, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:604:13 | 604 | Some('n') | Some('r') | Some('t') | Some('\\') | Some('0') | Some('\'') | Some('"') => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 604 | Some('n' | 'r' | 't' | '\\' | '0' | '\'' | '"') => { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: unnested or-patterns --> src/parse.rs:695:13 | 695 | / Some((_, b @ b' ')) | Some((_, b @ b'\t')) | Some((_, b @ b'\n')) 696 | | | Some((_, b @ b'\r')) => { | |__________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns help: nest the patterns | 695 | Some((_, b @ (b' ' | b'\t' | b'\n' | b'\r'))) => { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Configuration menu - View commit details
-
Copy full SHA for 8dba582 - Browse repository at this point
Copy the full SHA 8dba582View commit details -
Resolve mem_replace_with_default clippy lint
warning: replacing a value of type `T` with `T::default()` is better expressed using `std::mem::take` --> src/rcvec.rs:56:13 | 56 | mem::replace(owned, Vec::new()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::mem::take(owned)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default = note: `-W clippy::mem-replace-with-default` implied by `-W clippy::all`
Configuration menu - View commit details
-
Copy full SHA for 54873fd - Browse repository at this point
Copy the full SHA 54873fdView commit details -
Ignore manual_range_contains clippy lint
warning: manual `RangeInclusive::contains` implementation --> src/parse.rs:714:21 | 714 | Some(ch) if ch >= '0' && ch <= '9' => {} | ^^^^^^^^^^^^^^^^^^^^^^ help: use: `('0'..='9').contains(&ch)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains = note: `-W clippy::manual-range-contains` implied by `-W clippy::all` warning: manual `RangeInclusive::contains` implementation --> src/fallback.rs:772:35 | 772 | if string.bytes().all(|digit| digit >= b'0' && digit <= b'9') { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(b'0'..=b'9').contains(&digit)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains warning: manual `RangeInclusive::contains` implementation --> src/fallback.rs:948:45 | 948 | .starts_with(|next| '0' <= next && next <= '7') | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `('0'..='7').contains(&next)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
Configuration menu - View commit details
-
Copy full SHA for 7560c99 - Browse repository at this point
Copy the full SHA 7560c99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5235d37 - Browse repository at this point
Copy the full SHA 5235d37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 238e346 - Browse repository at this point
Copy the full SHA 238e346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72fc798 - Browse repository at this point
Copy the full SHA 72fc798View commit details -
Delete rustc minimum version check from build.rs
Now enforced by `rust-version` in Cargo.toml.
Configuration menu - View commit details
-
Copy full SHA for 4b2c896 - Browse repository at this point
Copy the full SHA 4b2c896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 673f460 - Browse repository at this point
Copy the full SHA 673f460View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b5ec10 - Browse repository at this point
Copy the full SHA 5b5ec10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1148346 - Browse repository at this point
Copy the full SHA 1148346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f00381 - Browse repository at this point
Copy the full SHA 0f00381View commit details -
Configuration menu - View commit details
-
Copy full SHA for 467a0b4 - Browse repository at this point
Copy the full SHA 467a0b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c04ea - Browse repository at this point
Copy the full SHA 56c04eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f96a77 - Browse repository at this point
Copy the full SHA 3f96a77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d8dd97 - Browse repository at this point
Copy the full SHA 2d8dd97View commit details -
Inline compiler_literal_from_str
This function only made sense when compilers older than 1.54 needed to use a different implementation.
Configuration menu - View commit details
-
Copy full SHA for 346cc05 - Browse repository at this point
Copy the full SHA 346cc05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00360bc - Browse repository at this point
Copy the full SHA 00360bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 177c700 - Browse repository at this point
Copy the full SHA 177c700View commit details -
Revert "Fix test failure due to quoting change in str's Debug"
No longer required as compilers older than 1.56 are not supported. This reverts commit 51608bb.
Configuration menu - View commit details
-
Copy full SHA for fc8af0d - Browse repository at this point
Copy the full SHA fc8af0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d8cab - Browse repository at this point
Copy the full SHA 11d8cabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b4608 - Browse repository at this point
Copy the full SHA 64b4608View commit details
There are no files selected for viewing
This file was deleted.