diff options
author | Florian Diebold <[email protected]> | 2018-12-23 16:13:11 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2018-12-23 16:13:11 +0000 |
commit | ef67581104eb00a0c199f0b2a3b558da8a6f90a2 (patch) | |
tree | b6cf180b26152fa06ec4b2d02e22221fb7ba7fad /crates/ra_hir/src/ty/tests/data/0003_paths.rs | |
parent | 93ffbf80c632a7d38fc8bbdf6357bfd26a96a35a (diff) |
Resolve paths to defs (functions currently) during type inference
Diffstat (limited to 'crates/ra_hir/src/ty/tests/data/0003_paths.rs')
-rw-r--r-- | crates/ra_hir/src/ty/tests/data/0003_paths.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/0003_paths.rs b/crates/ra_hir/src/ty/tests/data/0003_paths.rs new file mode 100644 index 000000000..e8b11198b --- /dev/null +++ b/crates/ra_hir/src/ty/tests/data/0003_paths.rs | |||
@@ -0,0 +1,10 @@ | |||
1 | fn a() -> u32 { 1 } | ||
2 | |||
3 | mod b { | ||
4 | fn c() -> u32 { 1 } | ||
5 | } | ||
6 | |||
7 | fn test() { | ||
8 | a(); | ||
9 | b::c(); | ||
10 | } | ||