rust/crates/hir_ty/src
Jade dc63fea427 Add basic support for array lengths in types
This recognizes `let a = [1u8, 2, 3]` as having type `[u8; 3]` instead
of the previous `[u8; _]`. Byte strings and `[0u8; 2]` kinds of range
array declarations are unsupported as before.

I don't know why a bunch of our rustc tests had single quotes inside
strings un-escaped by `UPDATE_EXPECT=1 cargo t`, but I don't think it's
bad? Maybe something in a nightly?
2021-05-11 05:25:19 -07:00
..
diagnostics decl_check: follow test style guide 2021-04-13 14:13:35 +02:00
infer Add basic support for array lengths in types 2021-05-11 05:25:19 -07:00
tests Add basic support for array lengths in types 2021-05-11 05:25:19 -07:00
autoderef.rs Profile trait solving for all invocations 2021-04-14 19:11:17 +03:00
builder.rs Remove unused 2021-04-08 14:36:14 +02:00
chalk_db.rs More moving stuff around 2021-04-09 14:28:04 +02:00
chalk_ext.rs Correctly support SelfType when searching for usages 2021-05-08 22:34:55 +02:00
consts.rs Add basic support for array lengths in types 2021-05-11 05:25:19 -07:00
db.rs Handle cycles in generic_defaults more gracefully 2021-04-29 20:00:43 +02:00
diagnostics.rs More cleanups / module docs 2021-04-09 14:40:58 +02:00
display.rs Add basic support for array lengths in types 2021-05-11 05:25:19 -07:00
infer.rs Remove unused 2021-04-08 14:36:14 +02:00
interner.rs Add basic support for array lengths in types 2021-05-11 05:25:19 -07:00
lib.rs Add basic support for array lengths in types 2021-05-11 05:25:19 -07:00
lower.rs Add basic support for array lengths in types 2021-05-11 05:25:19 -07:00
mapping.rs More moving stuff around 2021-04-09 14:28:04 +02:00
method_resolution.rs Collect inherent impls in unnamed consts 2021-04-19 01:06:26 +02:00
op.rs Implement more precise binary op return type prediction 2021-04-10 16:56:32 +02:00
primitive.rs More cleanups / module docs 2021-04-09 14:40:58 +02:00
test_db.rs Create all ModuleIds through a DefMap method 2021-01-25 15:21:33 +01:00
tests.rs Access a body's block def maps via a method 2021-04-04 03:03:18 +02:00
tls.rs More moving stuff around 2021-04-09 14:28:04 +02:00
traits.rs More cleanups / module docs 2021-04-09 14:40:58 +02:00
utils.rs Rewrite all_super_trait_refs as an iterator 2021-04-29 20:18:41 +02:00
walk.rs Remove unused 2021-04-08 14:36:14 +02:00