about summary refs log tree commit diff
path: root/src/test/ui/async-await/issues/issue-64433.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/async-await/issues/issue-64433.rs')
-rw-r--r--src/test/ui/async-await/issues/issue-64433.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/test/ui/async-await/issues/issue-64433.rs b/src/test/ui/async-await/issues/issue-64433.rs
deleted file mode 100644
index d900f8ed9ba..00000000000
--- a/src/test/ui/async-await/issues/issue-64433.rs
+++ /dev/null
@@ -1,30 +0,0 @@
-// Regression test for issue #64433.
-//
-// See issue-64391-2.rs for more details, as that was fixed by the
-// same PR.
-//
-// check-pass
-// edition:2018
-
-#[derive(Debug)]
-struct A<'a> {
-    inner: Vec<&'a str>,
-}
-
-struct B {}
-
-impl B {
-    async fn something_with_a(&mut self, a: A<'_>) -> Result<(), String> {
-        println!("{:?}", a);
-        Ok(())
-    }
-}
-
-async fn can_error(some_string: &str) -> Result<(), String> {
-    let a = A { inner: vec![some_string, "foo"] };
-    let mut b = B {};
-    Ok(b.something_with_a(a).await.map(drop)?)
-}
-
-fn main() {
-}