aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests
diff options
context:
space:
mode:
authorMarcus Klaas de Vries <[email protected]>2019-01-14 19:56:14 +0000
committerMarcus Klaas de Vries <[email protected]>2019-01-14 19:56:14 +0000
commitd67eabb512a08a451a649c7f20e4e9ae1860a8a0 (patch)
tree99c5fb5004f3fb7a6b0855033855c439675cc0ff /crates/ra_hir/src/ty/tests
parent26893487722d07b3f31a6addfc88e6948620989c (diff)
Fix type inference for raw (byte) strings
Diffstat (limited to 'crates/ra_hir/src/ty/tests')
-rw-r--r--crates/ra_hir/src/ty/tests/data/literals.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/literals.txt b/crates/ra_hir/src/ty/tests/data/literals.txt
index 6e82f458f..84ee2c11b 100644
--- a/crates/ra_hir/src/ty/tests/data/literals.txt
+++ b/crates/ra_hir/src/ty/tests/data/literals.txt
@@ -1,4 +1,4 @@
1[11; 111) '{ ...rue; }': () 1[11; 201) '{ ...o"#; }': ()
2[17; 21) '5i32': i32 2[17; 21) '5i32': i32
3[27; 34) '"hello"': &str 3[27; 34) '"hello"': &str
4[40; 48) 'b"bytes"': &[u8] 4[40; 48) 'b"bytes"': &[u8]
@@ -8,3 +8,5 @@
8[83; 87) '5000': i32 8[83; 87) '5000': i32
9[93; 98) 'false': bool 9[93; 98) 'false': bool
10[104; 108) 'true': bool 10[104; 108) 'true': bool
11[114; 182) 'r#" ... "#': &str
12[188; 198) 'br#"yolo"#': &[u8]