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: dtolnay/thiserror
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.2
Choose a base ref
...
head repository: dtolnay/thiserror
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.3
Choose a head ref
  • 9 commits
  • 8 files changed
  • 1 contributor

Commits on Nov 10, 2024

  1. Add test of Debug and Display of paths

    DisplayDebug currently works but DebugDisplay does not.
    
        error[E0277]: `PathBuf` doesn't implement `std::fmt::Display`
          --> tests/test_path.rs:36:13
           |
        32 | #[derive(Error, Debug)]
           |          ----- in this derive macro expansion
        ...
        36 |     #[error("debug:{0:?} display:{0}")]
           |             ^^^^^^^^^^^^^^^^^^^^^^^^^ `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
           = help: the trait `std::fmt::Display` is implemented for `Var<'_, T>`
           = 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)
    dtolnay committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    520343e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc0359e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6388293 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #383 from dtolnay/both

    Support Display and Debug of same path in error message
    dtolnay authored Nov 10, 2024
    Configuration menu
    Copy the full SHA
    a061beb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a6132d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1d040f3 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #384 from dtolnay/nowrap

    Use Var wrapper only for Pointer formatting
    dtolnay authored Nov 10, 2024
    Configuration menu
    Copy the full SHA
    9cc1d0b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7046023 View commit details
    Browse the repository at this point in the history
  9. Release 2.0.3

    dtolnay committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    15fd26e View commit details
    Browse the repository at this point in the history
Loading