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 c2fd0c4 commit 91988f4Copy full SHA for 91988f4
crates/ide_assists/src/tests/generated.rs
@@ -1504,6 +1504,33 @@ fn main() {
1504
)
1505
}
1506
1507
+#[test]
1508
+fn doctest_qualify_method_call() {
1509
+ check_doc_test(
1510
+ "qualify_method_call",
1511
+ r#####"
1512
+struct Foo;
1513
+impl Foo {
1514
+ fn foo(&self) {}
1515
+}
1516
+fn main() {
1517
+ let foo = Foo;
1518
+ foo.fo$0o();
1519
1520
+"#####,
1521
1522
1523
1524
1525
1526
1527
1528
+ Foo::foo(&foo);
1529
1530
1531
+ )
1532
1533
+
1534
#[test]
1535
fn doctest_qualify_path() {
1536
check_doc_test(
0 commit comments