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__bug_651.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__bug_651.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__bug_651.snap | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__bug_651.snap b/crates/ra_hir/src/ty/snapshots/tests__bug_651.snap deleted file mode 100644 index d23d3f139..000000000 --- a/crates/ra_hir/src/ty/snapshots/tests__bug_651.snap +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | --- | ||
2 | created: "2019-01-25T20:31:47.275112244+00:00" | ||
3 | creator: [email protected] | ||
4 | expression: "&result" | ||
5 | source: crates/ra_hir/src/ty/tests.rs | ||
6 | --- | ||
7 | [11; 41) '{ ...+ y; }': () | ||
8 | [21; 22) 'y': i32 | ||
9 | [25; 27) '92': i32 | ||
10 | [33; 34) '1': i32 | ||
11 | [33; 38) '1 + y': i32 | ||
12 | [37; 38) 'y': i32 | ||
13 | |||