diff options
Diffstat (limited to 'src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs')
-rw-r--r-- | src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs b/src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs deleted file mode 100644 index 248575d35..000000000 --- a/src/test/rustdoc-ui/error-in-impl-trait/realistic-async.rs +++ /dev/null @@ -1,28 +0,0 @@ -// edition:2018 -// check-pass - -mod windows { - pub trait WinFoo { - fn foo(&self) {} - } - - impl WinFoo for () {} -} - -#[cfg(any(windows, doc))] -use windows::*; - -mod unix { - pub trait UnixFoo { - fn foo(&self) {} - } - - impl UnixFoo for () {} -} - -#[cfg(any(unix, doc))] -use unix::*; - -async fn bar() { - ().foo() -} |