Sha256: affbbe8bc9c3501d3db3a024e06daa9d076f1d142dba290c7aa1ea119daebd19

Contents?: true

Size: 404 Bytes

Versions: 39

Compression:

Stored size: 404 Bytes

Contents

use async_trait::async_trait;
use std::sync::Mutex;

async fn f() {}

#[async_trait]
trait Test {
    async fn test(&self) {
        let mutex = Mutex::new(());
        let _guard = mutex.lock().unwrap();
        f().await;
    }

    async fn test_ret(&self) -> bool {
        let mutex = Mutex::new(());
        let _guard = mutex.lock().unwrap();
        f().await;
        true
    }
}

fn main() {}

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
wasmtime-30.0.2 ./ext/cargo-vendor/async-trait-0.1.86/tests/ui/send-not-implemented.rs
wasmtime-29.0.0 ./ext/cargo-vendor/async-trait-0.1.85/tests/ui/send-not-implemented.rs
wasmtime-28.0.0 ./ext/cargo-vendor/async-trait-0.1.85/tests/ui/send-not-implemented.rs
wasmtime-27.0.0 ./ext/cargo-vendor/async-trait-0.1.83/tests/ui/send-not-implemented.rs
wasmtime-26.0.0 ./ext/cargo-vendor/async-trait-0.1.83/tests/ui/send-not-implemented.rs
wasmtime-25.0.2 ./ext/cargo-vendor/async-trait-0.1.81/tests/ui/send-not-implemented.rs
wasmtime-25.0.1 ./ext/cargo-vendor/async-trait-0.1.81/tests/ui/send-not-implemented.rs
wasmtime-25.0.0 ./ext/cargo-vendor/async-trait-0.1.81/tests/ui/send-not-implemented.rs
wasmtime-24.0.0 ./ext/cargo-vendor/async-trait-0.1.81/tests/ui/send-not-implemented.rs
wasmtime-23.0.2 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-22.0.0 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-21.0.1 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-20.0.2 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-20.0.0 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-18.0.3 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-17.0.1 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-17.0.0 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-16.0.0 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-15.0.1 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs
wasmtime-15.0.0 ./ext/cargo-vendor/async-trait-0.1.77/tests/ui/send-not-implemented.rs