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: serde-rs/serde
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.155
Choose a base ref
...
head repository: serde-rs/serde
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.157
Choose a head ref
  • 17 commits
  • 23 files changed
  • 2 contributors

Commits on Mar 14, 2023

  1. Use explicit re-export of serde_derive to give rustc more info

    rustc 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.
    Noratrieb committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    f42b258 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2400 from Nilstrieb/explicit-reexport

    Use explicit re-export of `serde_derive` to give rustc more info
    dtolnay authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    a38aa31 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    063dd5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb7b6ea View commit details
    Browse the repository at this point in the history
  5. Merge pull request #2401 from dtolnay/docderive

    Show derive macros in serde's rustdoc
    dtolnay authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    7a8e497 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    994f7c7 View commit details
    Browse the repository at this point in the history
  7. Release 1.0.156

    dtolnay committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    5467125 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

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

Commits on Mar 18, 2023

  1. Merge pull request #2404 from dtolnay/attributeexpr

    Add ui test of malformed attribute containing expression
    dtolnay authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    9d87851 View commit details
    Browse the repository at this point in the history
  2. Update to syn 2

    dtolnay committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    32f0d00 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2405 from dtolnay/syn

    Update to syn 2
    dtolnay authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    5b23634 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0509810 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc22641 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #2406 from dtolnay/nestedmeta

    Rewrite attribute parser using parse_nested_meta
    dtolnay authored Mar 18, 2023
    Configuration menu
    Copy the full SHA
    9fc0d13 View commit details
    Browse the repository at this point in the history
  7. 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 ~     })
             |
    dtolnay committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    5b8e065 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c42e7c8 View commit details
    Browse the repository at this point in the history
  9. Release 1.0.157

    dtolnay committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    479a00a View commit details
    Browse the repository at this point in the history
Loading