aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/tests')
-rw-r--r--crates/hir_ty/src/tests/simple.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_ty/src/tests/simple.rs b/crates/hir_ty/src/tests/simple.rs
index 19775a4ec..79445a12d 100644
--- a/crates/hir_ty/src/tests/simple.rs
+++ b/crates/hir_ty/src/tests/simple.rs
@@ -496,7 +496,7 @@ fn infer_literals() {
496 26..30 '5f32': f32 496 26..30 '5f32': f32
497 36..40 '5f64': f64 497 36..40 '5f64': f64
498 46..53 '"hello"': &str 498 46..53 '"hello"': &str
499 59..67 'b"bytes"': &[u8; _] 499 59..67 'b"bytes"': &[u8; 5]
500 73..76 ''c'': char 500 73..76 ''c'': char
501 82..86 'b'b'': u8 501 82..86 'b'b'': u8
502 92..96 '3.14': f64 502 92..96 '3.14': f64
@@ -504,7 +504,7 @@ fn infer_literals() {
504 112..117 'false': bool 504 112..117 'false': bool
505 123..127 'true': bool 505 123..127 'true': bool
506 133..197 'r#" ... "#': &str 506 133..197 'r#" ... "#': &str
507 203..213 'br#"yolo"#': &[u8; _] 507 203..213 'br#"yolo"#': &[u8; 4]
508 "##]], 508 "##]],
509 ); 509 );
510} 510}