]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/async-trait.rs
Auto merge of #107778 - weihanglo:update-cargo, r=weihanglo
[rust.git] / tests / rustdoc / async-trait.rs
1 // aux-build:async-trait-dep.rs
2 // edition:2021
3
4 #![feature(async_fn_in_trait)]
5 #![allow(incomplete_features)]
6
7 extern crate async_trait_dep;
8
9 pub struct Oink {}
10
11 // @has 'async_trait/struct.Oink.html' '//h4[@class="code-header"]' "async fn woof()"
12 impl async_trait_dep::Meow for Oink {
13     async fn woof() {
14         todo!()
15     }
16 }