diff options
author | Aleksei Sidorov <[email protected]> | 2020-09-04 13:28:08 +0100 |
---|---|---|
committer | Aleksei Sidorov <[email protected]> | 2020-09-04 13:28:08 +0100 |
commit | a1c060c8d0fa3d7f7ad27f56be8298e5f9759c95 (patch) | |
tree | 628cf4300d01c23b4e46a61507cdf037ab55fba6 /crates | |
parent | 477fa75cfbdc923be366c75cb03b1e352f63c8e8 (diff) |
Update codegen
Diffstat (limited to 'crates')
-rw-r--r-- | crates/assists/src/tests/generated.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/assists/src/tests/generated.rs b/crates/assists/src/tests/generated.rs index 04c8fd1f9..3963136d8 100644 --- a/crates/assists/src/tests/generated.rs +++ b/crates/assists/src/tests/generated.rs | |||
@@ -815,6 +815,19 @@ fn handle(action: Action) { | |||
815 | } | 815 | } |
816 | 816 | ||
817 | #[test] | 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 | r#####" | ||
825 | fn foo<B: Bar>(bar: B) {} | ||
826 | "#####, | ||
827 | ) | ||
828 | } | ||
829 | |||
830 | #[test] | ||
818 | fn doctest_replace_let_with_if_let() { | 831 | fn doctest_replace_let_with_if_let() { |
819 | check_doc_test( | 832 | check_doc_test( |
820 | "replace_let_with_if_let", | 833 | "replace_let_with_if_let", |