diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-03 11:44:01 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-03 11:44:01 +0000 |
commit | 17aaece6b39c2fb525be0eccce4626fc622e8236 (patch) | |
tree | 864de162bea4cf160a78d56d6f3a0c0fd82ca73a /crates/ra_hir/src/ty/snapshots/tests__infer_let.snap | |
parent | 00b09bcd8c96c37633964aa40df711dc013a6ca5 (diff) | |
parent | 2e8f25884584ec7dd21bdd4be1bcf1c857efa35e (diff) |
Merge #917
917: Trait tests r=flodiebold a=flodiebold
This adds a bunch of basic tests for trait functionality, just to outline what seems like the first goals for that ;)
It also changes the display of `Ty::Unknown` to `{unknown}`, since `[unknown]` could be confused with a slice, and fixes an error in the emacs runnables code.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_let.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__infer_let.snap | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_let.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_let.snap deleted file mode 100644 index 0d085071a..000000000 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_let.snap +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-01-22T14:44:59.963931700+00:00" | ||
3 | creator: [email protected] | ||
4 | expression: "&result" | ||
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | ||
7 | [11; 71) '{ ...= b; }': () | ||
8 | [21; 22) 'a': isize | ||
9 | [25; 31) '1isize': isize | ||
10 | [41; 42) 'b': usize | ||
11 | [52; 53) '1': usize | ||
12 | [63; 64) 'c': usize | ||
13 | [67; 68) 'b': usize | ||
14 | |||