diff options
author | Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> | 2021-01-21 08:53:24 +0000 |
---|---|---|
committer | Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> | 2021-01-21 08:53:24 +0000 |
commit | 06f1c8f5a10f0114cbd94111312ea58d59570efc (patch) | |
tree | b4b967dc4a9361d6c6be070edd971d9ea6f13438 /crates/assists/src/tests | |
parent | 35d9944c17d1477fa78cb0683fe60a8445458586 (diff) |
Add assist: add lifetime to type #7200
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Diffstat (limited to 'crates/assists/src/tests')
-rw-r--r-- | crates/assists/src/tests/generated.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/assists/src/tests/generated.rs b/crates/assists/src/tests/generated.rs index 4b254d463..9aa807f10 100644 --- a/crates/assists/src/tests/generated.rs +++ b/crates/assists/src/tests/generated.rs | |||
@@ -108,8 +108,8 @@ fn doctest_add_lifetime_to_type() { | |||
108 | check_doc_test( | 108 | check_doc_test( |
109 | "add_lifetime_to_type", | 109 | "add_lifetime_to_type", |
110 | r#####" | 110 | r#####" |
111 | struct Point$0 { | 111 | struct Point { |
112 | x: &u32, | 112 | x: &$0u32, |
113 | y: u32, | 113 | y: u32, |
114 | } | 114 | } |
115 | "#####, | 115 | "#####, |