diff options
| author | Michael Goulet <michael@errs.io> | 2022-10-22 17:48:31 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-10-22 17:49:00 +0000 |
| commit | def755edab084e971394e9d9ba929e205e9a1baa (patch) | |
| tree | 885792e8c005f6df254232349b95a376cc698083 /src/test/rustdoc/async-trait.rs | |
| parent | 289b2b8cf971b1adf132cb5b7f15368837c5e353 (diff) | |
| download | rust-def755edab084e971394e9d9ba929e205e9a1baa.tar.gz rust-def755edab084e971394e9d9ba929e205e9a1baa.zip | |
Clean middle RPITITs correctly in rustdoc
Diffstat (limited to 'src/test/rustdoc/async-trait.rs')
| -rw-r--r-- | src/test/rustdoc/async-trait.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/rustdoc/async-trait.rs b/src/test/rustdoc/async-trait.rs new file mode 100644 index 00000000000..a473e467473 --- /dev/null +++ b/src/test/rustdoc/async-trait.rs @@ -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!() + } +} |
