]> git.lizzy.rs Git - rust.git/blobdiff - crates/hir_ty/src/tests/simple.rs
Support length for ByteStrings
[rust.git] / crates / hir_ty / src / tests / simple.rs
index 19775a4ece409de46fb0d8a03ae3697074a3c09d..79445a12d9e75468f08ebfe94a345078432f5682 100644 (file)
@@ -496,7 +496,7 @@ mod foo {}
             26..30 '5f32': f32
             36..40 '5f64': f64
             46..53 '"hello"': &str
-            59..67 'b"bytes"': &[u8; _]
+            59..67 'b"bytes"': &[u8; 5]
             73..76 ''c'': char
             82..86 'b'b'': u8
             92..96 '3.14': f64
@@ -504,7 +504,7 @@ mod foo {}
             112..117 'false': bool
             123..127 'true': bool
             133..197 'r#"   ...    "#': &str
-            203..213 'br#"yolo"#': &[u8; _]
+            203..213 'br#"yolo"#': &[u8; 4]
         "##]],
     );
 }