We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e2848d commit 71f1c44Copy full SHA for 71f1c44
crates/ide-completion/src/completions/dot.rs
@@ -1437,5 +1437,33 @@ async fn bar() {
1437
me into_future() (use core::future::IntoFuture) fn(self) -> <Self as IntoFuture>::IntoFuture
1438
"#]],
1439
);
1440
+ check_edit(
1441
+ "foo",
1442
+ r#"
1443
+//- minicore: future
1444
+struct Foo;
1445
+impl Foo {
1446
+ fn foo(self) {}
1447
+}
1448
+
1449
+async fn foo() -> Foo { Foo }
1450
1451
+async fn bar() {
1452
+ foo().$0
1453
1454
+"#,
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
+ foo().await.foo();$0
1465
1466
1467
+ );
1468
}
1469
0 commit comments