-
-
Notifications
You must be signed in to change notification settings - Fork 178
Comparing changes
Open a pull request
base repository: dtolnay/thiserror
base: 1.0.66
head repository: dtolnay/thiserror
compare: 1.0.67
- 17 commits
- 9 files changed
- 2 contributors
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2b16098 - Browse repository at this point
Copy the full SHA 2b16098View commit details -
Merge pull request #333 from dtolnay/nonegroup
Preserve None-delimited groups inside format args
Configuration menu - View commit details
-
Copy full SHA for 057c15c - Browse repository at this point
Copy the full SHA 057c15cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 747ce20 - Browse repository at this point
Copy the full SHA 747ce20View commit details -
Merge pull request #334 from dtolnay/underscorevar
Remove format var parsing workaround that targeted rustc 1.40 and older
Configuration menu - View commit details
-
Copy full SHA for a1882b2 - Browse repository at this point
Copy the full SHA a1882b2View commit details
Commits on Nov 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 751dc63 - Browse repository at this point
Copy the full SHA 751dc63View commit details -
Add regression test for issue 335
error[E0277]: `PathBuf` doesn't implement `std::fmt::Display` --> tests/test_expr.rs:105:14 | 104 | #[derive(Error, Debug)] | ----- in this derive macro expansion 105 | #[error("{A} {b}", b = &0 as &dyn Trait<i32, A = i32>)] | ^^^ `PathBuf` cannot be formatted with the default formatter; call `.display()` on it | = help: the trait `std::fmt::Display` is not implemented for `PathBuf` = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead = note: call `.display()` or `.to_string_lossy()` to safely print paths, as they may contain non-Unicode data = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
Configuration menu - View commit details
-
Copy full SHA for 561e29e - Browse repository at this point
Copy the full SHA 561e29eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c005055 - Browse repository at this point
Copy the full SHA c005055View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2585669 - Browse repository at this point
Copy the full SHA 2585669View commit details -
Ignore enum_glob_use pedantic clippy lint
warning: usage of wildcard import for enum variants --> impl/src/scan_expr.rs:1:12 | 1 | use self::{Action::*, Input::*}; | ^^^^^^^^^ help: try: `Action::{DecDepth, Finish, IncDepth, SetState}` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use = note: `-W clippy::enum-glob-use` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::enum_glob_use)]` warning: usage of wildcard import for enum variants --> impl/src/scan_expr.rs:1:23 | 1 | use self::{Action::*, Input::*}; | ^^^^^^^^ help: try: `Input::{CanBeginExpr, ConsumeAny, ConsumeBinOp, ConsumeBrace, ConsumeDelimiter, ConsumeIdent, ConsumeLifetime, ConsumeLiteral, ConsumeNestedBrace, Empty, ExpectPath, ExpectTurbofish, ExpectType, Keyword, Otherwise, Punct}` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use
Configuration menu - View commit details
-
Copy full SHA for 45e18f5 - Browse repository at this point
Copy the full SHA 45e18f5View commit details -
Merge pull request #337 from dtolnay/scan
More robust scanning for fmt argument expressions
Configuration menu - View commit details
-
Copy full SHA for 851f694 - Browse repository at this point
Copy the full SHA 851f694View commit details
Commits on Nov 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 144b3b6 - Browse repository at this point
Copy the full SHA 144b3b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dabb96f - Browse repository at this point
Copy the full SHA dabb96fView commit details -
Merge pull request #339 from dtolnay/fullexpr
Use syn's real expression parser if it has full syntax support
Configuration menu - View commit details
-
Copy full SHA for 60bc0f2 - Browse repository at this point
Copy the full SHA 60bc0f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c357f97 - Browse repository at this point
Copy the full SHA c357f97View commit details -
Ignore expected unnecessary_wraps pedantic clippy lint
warning: this function's return value is unnecessarily wrapped by `Result` --> impl/src/fmt.rs:122:1 | 122 | / fn explicit_named_args(input: ParseStream) -> Result<Set<Ident>> { 123 | | let ahead = input.fork(); 124 | | if let Ok(set) = try_explicit_named_args(&ahead) { 125 | | input.advance_to(&ahead); ... | 136 | | Ok(Set::new()) 137 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps = note: `-W clippy::unnecessary-wraps` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::unnecessary_wraps)]` help: remove `Result` from the return type... | 122 | fn explicit_named_args(input: ParseStream) -> std::collections::BTreeSet<proc_macro2::Ident> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: ...and then change returning expressions | 126 ~ return set; 127 | } ... 131 | input.advance_to(&ahead); 132 ~ return set; 133 | } 134 | 135 | input.parse::<TokenStream>().unwrap(); 136 ~ Set::new() |
Configuration menu - View commit details
-
Copy full SHA for 0ab908a - Browse repository at this point
Copy the full SHA 0ab908aView commit details -
Merge pull request #340 from dtolnay/fallbackscan
Add infallible expr scanner fallback for scanning invalid code
Configuration menu - View commit details
-
Copy full SHA for b3bc3e7 - Browse repository at this point
Copy the full SHA b3bc3e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 925f2dd - Browse repository at this point
Copy the full SHA 925f2ddView 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.66...1.0.67