mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
17 lines
333 B
Rust
17 lines
333 B
Rust
// 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!()
|
|
}
|
|
}
|