10000 Comparing 1.0.59...1.0.63 · dtolnay/thiserror · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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: 1.0.59
Choose a base ref
...
head repository: dtolnay/thiserror
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.63
Choose a head ref
  • 18 commits
  • 19 files changed
  • 2 contributors

Commits on May 7, 2024

  1. Resolve unexpected_cfgs warning

        warning: unexpected `cfg` condition name: `error_generic_member_access`
           --> src/lib.rs:238:13
            |
        238 | #![cfg_attr(error_generic_member_access, feature(error_generic_member_access))]
            |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
            = note: `#[warn(unexpected_cfgs)]` on by default
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
           --> src/lib.rs:240:11
            |
        240 | #[cfg(all(thiserror_nightly_testing, not(error_generic_member_access)))]
            |           ^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `error_generic_member_access`
           --> src/lib.rs:240:42
            |
        240 | #[cfg(all(thiserror_nightly_testing, not(error_generic_member_access)))]
            |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `error_generic_member_access`
           --> src/lib.rs:245:7
            |
        245 | #[cfg(error_generic_member_access)]
            |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `error_generic_member_access`
           --> src/lib.rs:257:11
            |
        257 |     #[cfg(error_generic_member_access)]
            |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(error_generic_member_access)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
         --> tests/test_option.rs:1:13
          |
        1 | #![cfg_attr(thiserror_nightly_testing, feature(error_generic_member_access))]
          |             ^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
          = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
          = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
          = note: `#[warn(unexpected_cfgs)]` on by default
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
         --> tests/test_option.rs:3:7
          |
        3 | #[cfg(thiserror_nightly_testing)]
          |       ^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
          = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
          --> tests/test_option.rs:48:7
           |
        48 | #[cfg(thiserror_nightly_testing)]
           |       ^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
           = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
         --> tests/test_backtrace.rs:1:13
          |
        1 | #![cfg_attr(thiserror_nightly_testing, feature(error_generic_member_access))]
          |             ^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
          = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
          = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
          = note: `#[warn(unexpected_cfgs)]` on by default
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
           --> tests/test_option.rs:104:16
            |
        104 | #[cfg_attr(not(thiserror_nightly_testing), ignore)]
            |                ^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
         --> tests/test_backtrace.rs:9:7
          |
        9 | #[cfg(thiserror_nightly_testing)]
          |       ^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
          = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
          --> tests/test_backtrace.rs:16:7
           |
        16 | #[cfg(thiserror_nightly_testing)]
           |       ^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: consider using a Cargo feature instead or add
    8000
    ing `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
           = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
           --> tests/test_backtrace.rs:150:7
            |
        150 | #[cfg(thiserror_nightly_testing)]
            |       ^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    
        warning: unexpected `cfg` condition name: `thiserror_nightly_testing`
           --> tests/test_backtrace.rs:273:16
            |
        273 | #[cfg_attr(not(thiserror_nightly_testing), ignore)]
            |                ^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(thiserror_nightly_testing)");` to the top of the `build.rs`
            = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
    dtolnay committed May 7, 2024
    Configuration menu
    Copy the full SHA
    cf43d0c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #298 from dtolnay/checkcfg

    Resolve unexpected_cfgs warning
    dtolnay authored May 7, 2024
    Configuration menu
    Copy the full SHA
    0ccee7c View commit details
    Browse the repository at this point in the history
  3. Release 1.0.60

    dtolnay committed May 7, 2024
    Configuration menu
    Copy the full SHA
    870d11b View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    7b6e35b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce974bc View commit details
    Browse the repository at this point in the history
  3. Merge pull request #299 from quartiq/core

    `std::fmt` -> `core::fmt`
    dtolnay authored May 17, 2024
    Configuration menu
    Copy the full SHA
    6b2b871 View commit details
    Browse the repository at this point in the history
  4. Format PR 299 with rustfmt

    dtolnay committed May 17, 2024
    Configuration menu
    Copy the full SHA
    e3b1b91 View commit details
    Browse the repository at this point in the history
  5. Release 1.0.61

    dtolnay committed May 17, 2024
    Configuration menu
    Copy the full SHA
    5c80163 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

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

Commits on Jun 8, 2024

  1. Ignore warning on unused struct in test

        warning: struct `OptSourceNoBacktrace` is never constructed
          --> tests/test_option.rs:10:16
           |
        10 |     pub struct OptSourceNoBacktrace {
           |                ^^^^^^^^^^^^^^^^^^^^
           |
           = note: `#[warn(dead_code)]` on by default
    
        warning: struct `OptSourceAlwaysBacktrace` is never constructed
          --> tests/test_option.rs:17:16
           |
        17 |     pub struct OptSourceAlwaysBacktrace {
           |                ^^^^^^^^^^^^^^^^^^^^^^^^
    
        warning: struct `NoSourceOptBacktrace` is never constructed
          --> tests/test_option.rs:25:16
           |
        25 |     pub struct NoSourceOptBacktrace {
           |                ^^^^^^^^^^^^^^^^^^^^
    
        warning: struct `AlwaysSourceOptBacktrace` is never constructed
          --> tests/test_option.rs:32:16
           |
        32 |     pub struct AlwaysSourceOptBacktrace {
           |                ^^^^^^^^^^^^^^^^^^^^^^^^
    
        warning: struct `OptSourceOptBacktrace` is never constructed
          --> tests/test_option.rs:40:16
           |
        40 |     pub struct OptSourceOptBacktrace {
           |                ^^^^^^^^^^^^^^^^^^^^^
    dtolnay committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    4db08b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    479744e View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    f1ca210 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40a7779 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #310 from dtolnay/nestedtuple

    Support `.0.0` nested tuple index
    dtolnay authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4977932 View commit details
    Browse the repository at this point in the history
  4. Release 1.0.62

    dtolnay committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    0bf6e3d View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    de8a1e5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #312 from dtolnay/backtracedoc

    Update documentation of #[from] and #[backtrace] attributes
    dtolnay authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3d5ec25 View commit details
    Browse the repository at this point in the history
  3. Release 1.0.63

    dtolnay committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    915c75e View commit details
    Browse the repository at this point in the history
Loading
0