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/async-trait
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.1.80
Choose a base ref
...
head repository: dtolnay/async-trait
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.1.81
Choose a head ref
  • 14 commits
  • 9 files changed
  • 2 contributors

Commits on Apr 18, 2024

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

Commits on May 6, 2024

  1. Resolve unexpected_cfgs warning

        warning: unexpected `cfg` condition name: `async_trait_nightly_testing`
         --> tests/test.rs:2:5
          |
        2 |     async_trait_nightly_testing,
          |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `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(async_trait_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: `async_trait_nightly_testing`
           --> tests/test.rs:380:7
            |
        380 | #[cfg(async_trait_nightly_testing)]
            |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(async_trait_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: `async_trait_nightly_testing`
            --> tests/test.rs:1298:7
             |
        1298 | #[cfg(async_trait_nightly_testing)]
             |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
             |
             = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(async_trait_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: `async_trait_nightly_testing`
            --> tests/test.rs:1627:7
             |
        1627 | #[cfg(async_trait_nightly_testing)]
             |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
             |
             = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(async_trait_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 6, 2024
    Configuration menu
    Copy the full SHA
    778dd29 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #267 from dtolnay/checkcfg

    Resolve unexpected_cfgs warning
    dtolnay authored May 6, 2024
    Configuration menu
    Copy the full SHA
    dcc4aa2 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

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

Commits on Jun 2, 2024

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

Commits on Jun 5, 2024

  1. Former where_clauses_object_safety lint is now hard error

    Since nightly-2024-06-05.
    
        warning: unknown lint: `where_clauses_object_safety`
            --> tests/test.rs:1383:8
             |
        1383 | #[deny(where_clauses_object_safety)]
             |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
             |
             = note: `#[warn(unknown_lints)]` on by default
    dtolnay committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    d28c95b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #270 from dtolnay/objsafety

    Former where_clauses_object_safety lint is now hard error
    dtolnay authored Jun 5, 2024
    Configuration menu
    Copy the full SHA
    dba15b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. Work around dead code warning in test

        warning: struct `Struct` is never constructed
           --> tests/test.rs:338:16
            |
        338 |     pub struct Struct {
            |                ^^^^^^
            |
            = note: `#[warn(dead_code)]` on by default
    dtolnay committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    4a00d73 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. syn: remove derive feature

    and default too
    klensy committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    2fac940 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #272 from klensy/syn-f

    syn: remove derive feature
    dtolnay authored Jul 7, 2024
    Configuration menu
    Copy the full SHA
    94a3165 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    315fd90 View commit details
    Browse the repository at this point in the history
  4. Ignore trivially_copy_pass_by_ref pedantic clippy lint

    When syn/clone-impls isn't enabled, this type is not Copy.
    
        warning: this argument (4 byte) is passed by reference, but would be more efficient if passed by value (limit: 8 byte)
          --> src/lifetime.rs:22:49
           |
        22 |     fn visit_opt_lifetime(&mut self, reference: &Token![&], lifetime: &mut Option<Lifetime>) {
           |                                                 ^^^^^^^^^^ help: consider passing by value instead: `$crate::token::And`
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
           = note: `-W clippy::trivially-copy-pass-by-ref` implied by `-W clippy::pedantic`
           = help: to override `-W clippy::pedantic` add `#[allow(clippy::trivially_copy_pass_by_ref)]`
    dtolnay committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    b6c6063 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #273 from dtolnay/cloneimpls

    Turn off syn/clone-impls feature
    dtolnay authored Jul 7, 2024
    Configuration menu
    Copy the full SHA
    4ec740e View commit details
    Browse the repository at this point in the history
  6. Release 0.1.81

    dtolnay committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    383f65f View commit details
    Browse the repository at this point in the history
Loading