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 477fa75 commit a1c060cCopy full SHA for a1c060c
crates/assists/src/tests/generated.rs
@@ -814,6 +814,19 @@ fn handle(action: Action) {
814
)
815
}
816
817
+#[test]
818
+fn doctest_replace_impl_trait_with_generic() {
819
+ check_doc_test(
820
+ "replace_impl_trait_with_generic",
821
+ r#####"
822
+fn foo<G>(bar: <|>impl Bar) {}
823
+"#####,
824
825
+fn foo<B: Bar>(bar: B) {}
826
827
+ )
828
+}
829
+
830
#[test]
831
fn doctest_replace_let_with_if_let() {
832
check_doc_test(
0 commit comments