Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/tests/regression.rs')
-rw-r--r--crates/hir-ty/src/tests/regression.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/hir-ty/src/tests/regression.rs b/crates/hir-ty/src/tests/regression.rs
index 93f765f703..d41470d29f 100644
--- a/crates/hir-ty/src/tests/regression.rs
+++ b/crates/hir-ty/src/tests/regression.rs
@@ -573,6 +573,7 @@ fn issue_6811() {
}
"#,
expect![[r#"
+ !0..16 'let_a=...t_b=1;': ()
!3..5 '_a': i32
!6..7 '1': i32
!11..13 '_b': i32
@@ -1012,17 +1013,17 @@ fn cfg_tail() {
"#,
expect![[r#"
14..53 '{ ...)] 9 }': ()
- 20..31 '{ "first" }': ()
+ 20..31 '{ "first" }': &str
22..29 '"first"': &str
72..190 '{ ...] 13 }': ()
78..88 '{ "fake" }': &str
80..86 '"fake"': &str
93..103 '{ "fake" }': &str
95..101 '"fake"': &str
- 108..120 '{ "second" }': ()
+ 108..120 '{ "second" }': &str
110..118 '"second"': &str
210..273 '{ ... 15; }': ()
- 216..227 '{ "third" }': ()
+ 216..227 '{ "third" }': &str
218..225 '"third"': &str
293..357 '{ ...] 15 }': ()
299..311 '{ "fourth" }': &str