-
-
Notifications
You must be signed in to change notification settings - Fork 853
Comparing changes
Open a pull request
base repository: serde-rs/serde
base: v1.0.155
head repository: serde-rs/serde
compare: v1.0.157
- 17 commits
- 23 files changed
- 2 contributors
Commits on Mar 14, 2023
-
Use explicit re-export of
serde_derive
to give rustc more inforustc will start looking behind `#[cfg(FALSE)]` items to start giving better diagnostics. By using an explicit re-export instead of a glob export, we tell rustc that `Deserialize` and `Serialize` exist here.
Configuration menu - View commit details
-
Copy full SHA for f42b258 - Browse repository at this point
Copy the full SHA f42b258View commit details -
Merge pull request #2400 from Nilstrieb/explicit-reexport
Use explicit re-export of `serde_derive` to give rustc more info
Configuration menu - View commit details
-
Copy full SHA for a38aa31 - Browse repository at this point
Copy the full SHA a38aa31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 063dd5b - Browse repository at this point
Copy the full SHA 063dd5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7b6ea - Browse repository at this point
Copy the full SHA fb7b6eaView commit details -
Merge pull request #2401 from dtolnay/docderive
Show derive macros in serde's rustdoc
Configuration menu - View commit details
-
Copy full SHA for 7a8e497 - Browse repository at this point
Copy the full SHA 7a8e497View commit details -
Configuration menu - View commit details
-
Copy full SHA for 994f7c7 - Browse repository at this point
Copy the full SHA 994f7c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5467125 - Browse repository at this point
Copy the full SHA 5467125View commit details
Commits on Mar 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c0296ee - Browse repository at this point
Copy the full SHA c0296eeView commit details
Commits on Mar 18, 2023
-
Merge pull request #2404 from dtolnay/attributeexpr
Add ui test of malformed attribute containing expression
Configuration menu - View commit details
-
Copy full SHA for 9d87851 - Browse repository at this point
Copy the full SHA 9d87851View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f0d00 - Browse repository at this point
Copy the full SHA 32f0d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b23634 - Browse repository at this point
Copy the full SHA 5b23634View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0509810 - Browse repository at this point
Copy the full SHA 0509810View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc22641 - Browse repository at this point
Copy the full SHA bc22641View commit details -
Merge pull request #2406 from dtolnay/nestedmeta
Rewrite attribute parser using parse_nested_meta
Configuration menu - View commit details
-
Copy full SHA for 9fc0d13 - Browse repository at this point
Copy the full SHA 9fc0d13View commit details -
Ignore single_match_else pedantic clippy lint in serde_derive_internals
error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> serde_derive_internals/src/attr.rs:1412:8 | 1412 | Ok(match string.parse() { | ________^ 1413 | | Ok(path) => Some(path), 1414 | | Err(_) => { 1415 | | cx.error_spanned_by( ... | 1420 | | } 1421 | | }) | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else = note: `-D clippy::single-match-else` implied by `-D clippy::pedantic` help: try this | 1412 ~ Ok(if let Ok(path) = string.parse() { Some(path) } else { 1413 + cx.error_spanned_by( 1414 + &string, 1415 + format!("failed to parse path: {:?}", string.value()), 1416 + ); 1417 + None 1418 ~ }) | error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> serde_derive_internals/src/attr.rs:1434:8 | 1434 | Ok(match string.parse() { | ________^ 1435 | | Ok(expr) => Some(expr), 1436 | | Err(_) => { 1437 | | cx.error_spanned_by( ... | 1442 | | } 1443 | | }) | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else help: try this | 1434 ~ Ok(if let Ok(expr) = string.parse() { Some(expr) } else { 1435 + cx.error_spanned_by( 1436 + &string, 1437 + format!("failed to parse path: {:?}", string.value()), 1438 + ); 1439 + None 1440 ~ }) | error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> serde_derive_internals/src/attr.rs:1478:8 | 1478 | Ok(match string.parse() { | ________^ 1479 | | Ok(ty) => Some(ty), 1480 | | Err(_) => { 1481 | | cx.error_spanned_by( ... | 1486 | | } 1487 | | }) | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else help: try this | 1478 ~ Ok(if let Ok(ty) = string.parse() { Some(ty) } else { 1479 + cx.error_spanned_by( 1480 + &string, 1481 + format!("failed to parse type: {} = {:?}", attr_name, string.value()), 1482 + ); 1483 + None 1484 ~ }) |
Configuration menu - View commit details
-
Copy full SHA for 5b8e065 - Browse repository at this point
Copy the full SHA 5b8e065View commit details -
Configuration menu - View commit details
-
Copy full SHA for c42e7c8 - Browse repository at this point
Copy the full SHA c42e7c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 479a00a - Browse repository at this point
Copy the full SHA 479a00aView 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 v1.0.155...v1.0.157