diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-10 17:08:54 +0000 |
---|---|---|
committer | Marcus Klaas de Vries <[email protected]> | 2019-01-14 12:54:31 +0000 |
commit | 1574715be5d3fc7e07160708810dcbc9c1b01733 (patch) | |
tree | c482c99282393d75606c4487d316103b14208561 /crates/ra_hir/src/ty/tests.rs | |
parent | 5f5dc20d85dead5fbd51d163451f796255c9faea (diff) |
Use type variables to determine exact type for ambiguous numeric literals
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r-- | crates/ra_hir/src/ty/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs index 97d3d222f..0c43415a6 100644 --- a/crates/ra_hir/src/ty/tests.rs +++ b/crates/ra_hir/src/ty/tests.rs | |||
@@ -145,6 +145,7 @@ fn test() { | |||
145 | 3.14; | 145 | 3.14; |
146 | 5000; | 146 | 5000; |
147 | (0u32, -5isize); | 147 | (0u32, -5isize); |
148 | false; | ||
148 | [true, true, false] | 149 | [true, true, false] |
149 | } | 150 | } |
150 | "#, | 151 | "#, |