about summary refs log tree commit diff
path: root/tests/rustdoc/async-trait.rs
blob: 980a812815b8aacec9321f14072e2c6f02b3045c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ aux-build:async-trait-dep.rs
//@ edition:2021

#![allow(incomplete_features)]

extern crate async_trait_dep;

pub struct Oink {}

// @has 'async_trait/struct.Oink.html' '//h4[@class="code-header"]' "async fn woof()"
impl async_trait_dep::Meow for Oink {
    async fn woof() {
        todo!()
    }
}