Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
16
tests/rustdoc/async-trait.rs
Normal file
16
tests/rustdoc/async-trait.rs
Normal file
|
@ -0,0 +1,16 @@
|
|||
// aux-build:async-trait-dep.rs
|
||||
// edition:2021
|
||||
|
||||
#![feature(async_fn_in_trait)]
|
||||
#![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!()
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue