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.12
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.14
Choose a head ref
  • 18 commits
  • 10 files changed
  • 2 contributors

Commits on May 3, 2025

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

Commits on May 17, 2025

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

Commits on Jun 6, 2025

  1. Ignore mismatched_lifetime_syntaxes lint

        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/attr.rs:69:19
           |
        69 | pub fn get(input: &[Attribute]) -> Result<Attrs> {
           |                   ^^^^^^^^^^^^            ----- the lifetime gets resolved as `'_`
           |                   |
           |                   this lifetime flows to the output
           |
           = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        69 | pub fn get(input: &[Attribute]) -> Result<Attrs<'_>> {
           |                                                ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
         --> impl/src/prop.rs:7:30
          |
        7 |     pub(crate) fn from_field(&self) -> Option<&Field> {
          |                              ^^^^^            ------
          |                              |                ||
          |                              |                |the lifetimes get resolved as `'_`
          |                              |                the lifetimes get resolved as `'_`
          |                              this lifetime flows to the output
          |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
          |
        7 |     pub(crate) fn from_field(&self) -> Option<&Field<'_>> {
          |                                                     ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/prop.rs:11:32
           |
        11 |     pub(crate) fn source_field(&self) -> Option<&Field> {
           |                                ^^^^^            ------
           |                                |                ||
           |                                |                |the lifetimes get resolved as `'_`
           |                                |                the lifetimes get resolved as `'_`
           |                                this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        11 |     pub(crate) fn source_field(&self) -> Option<&Field<'_>> {
           |                                                       ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/prop.rs:15:35
           |
        15 |     pub(crate) fn backtrace_field(&self) -> Option<&Field> {
           |                                   ^^^^^            ------
           |                                   |                ||
           |                                   |                |the lifetimes get resolved as `'_`
           |                                   |                the lifetimes get resolved as `'_`
           |                                   this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        15 |     pub(crate) fn backtrace_field(&self) -> Option<&Field<'_>> {
           |                                                          ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/prop.rs:19:44
           |
        19 |     pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field> {
           |                                            ^^^^^            ------
           |                                            |                ||
           |                                            |                |the lifetimes get resolved as `'_`
           |                                            |                the lifetimes get resolved as `'_`
           |                                            this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        19 |     pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field<'_>> {
           |                                                                   ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/prop.rs:54:30
           |
        54 |     pub(crate) fn from_field(&self) -> Option<&Field> {
           |                              ^^^^^            ------
           |                              |                ||
           |                              |                |the lifetimes get resolved as `'_`
           |                              |                the lifetimes get resolved as `'_`
           |                              this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        54 |     pub(crate) fn from_field(&self) -> Option<&Field<'_>> {
           |                                                     ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/prop.rs:58:32
           |
        58 |     pub(crate) fn source_field(&self) -> Option<&Field> {
           |                                ^^^^^            ------
           |                                |                ||
           |                                |                |the lifetimes get resolved as `'_`
           |                                |                the lifetimes get resolved as `'_`
           |                                this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        58 |     pub(crate) fn source_field(&self) -> Option<&Field<'_>> {
           |                                                       ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/prop.rs:62:35
           |
        62 |     pub(crate) fn backtrace_field(&self) -> Option<&Field> {
           |                                   ^^^^^            ------
           |                                   |                ||
           |                                   |                |the lifetimes get resolved as `'_`
           |                                   |                the lifetimes get resolved as `'_`
           |                                   this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        62 |     pub(crate) fn backtrace_field(&self) -> Option<&Field<'_>> {
           |                                                          ++++
    
        warning: lifetime flowing from input to output with different syntax can be confusing
          --> impl/src/prop.rs:66:44
           |
        66 |     pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field> {
           |                                            ^^^^^            ------
           |                                            |                ||
           |                                            |                |the lifetimes get resolved as `'_`
           |                                            |                the lifetimes get resolved as `'_`
           |                                            this lifetime flows to the output
           |
        help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
           |
        66 |     pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field<'_>> {
           |                                                                   ++++
    dtolnay committed Jun 6, 2025
    Configuration menu
    Copy the full SHA
    25f8ee6 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

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

Commits on Jun 22, 2025

  1. Resolve dead_code warning in test

        warning: enum `DeprecatedFrom` is never used
          --> tests/test_lints.rs:79:14
           |
        79 |     pub enum DeprecatedFrom {
           |              ^^^^^^^^^^^^^^
           |
           = note: `#[warn(dead_code)]` on by default
    dtolnay committed Jun 22, 2025
    Configuration menu
    Copy the full SHA
    93caf1a View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2025

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

Commits on Jul 14, 2025

  1. Ignore new dead code warning from rustc nightly-2025-07-14

        warning: struct `Placeholder` is never constructed
          --> src/display.rs:63:16
           |
        63 |     pub struct Placeholder;
           |                ^^^^^^^^^^^
           |
           = note: `#[warn(dead_code)]` on by default
    dtolnay committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    f36c540 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #423 from dtolnay/deadplaceholder

    Ignore new dead code warning from rustc nightly-2025-07-14
    dtolnay authored Jul 14, 2025
    Configuration menu
    Copy the full SHA
    6c1cc96 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2025

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

Commits on Aug 8, 2025

  1. Revert "Pin nightly toolchain used for miri job"

    This reverts commit 9abad43.
    dtolnay committed Aug 8, 2025
    Configuration menu
    Copy the full SHA
    f301423 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2025

  1. Add links to more items

    Especially for less used items like `source()` and `provide()` it
    can be very useful to click through to see what they do.
    
    I've also added links to some more items, but not all. I kept it to
    one link per item per block of text, to prevent cluttering the text.
    Kriskras99 committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    f1eb081 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #425 from Kriskras99/feat/doc_links

    Add links to more items
    dtolnay authored Aug 11, 2025
    Configuration menu
    Copy the full SHA
    0f94e99 View commit details
    Browse the repository at this point in the history
  3. Wrap PR 425 to 80 columns

    dtolnay committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    aee87e5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89872e3 View commit details
    Browse the repository at this point in the history
  5. Release 2.0.13

    dtolnay committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    61f28da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f00ebc5 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #426 from dtolnay/enotempty

    Allow build-script cleanup failure with NFSv3 output directory to be non-fatal
    dtolnay authored Aug 11, 2025
    Configuration menu
    Copy the full SHA
    a2aa6d7 View commit details
    Browse the repository at this point in the history
  8. Release 2.0.14

    dtolnay committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    eea6799 View commit details
    Browse the repository at this point in the history
Loading