aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs
diff options
context:
space:
mode:
authorDJMcNab <[email protected]>2018-12-05 21:43:40 +0000
committerDJMcNab <[email protected]>2018-12-05 21:43:40 +0000
commit0a82d768c474818548cc438b1bbe544f3618ee32 (patch)
tree493a2907b3410e10dad81a61d96cc13b364e2ee7 /crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs
parent0b1c0ee225a075d25d700fcd1c007615556e2afb (diff)
Improve/add the use_item documentation
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs')
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs b/crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs
new file mode 100644
index 000000000..1e436a6bc
--- /dev/null
+++ b/crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs
@@ -0,0 +1,8 @@
1use ::crate_name; // Rust 2018 - All flavours
2use crate_name; // Rust 2018 - Anchored paths
3use item_in_scope_or_crate_name; // Rust 2018 - Uniform Paths
4
5use self::module::Item;
6use crate::Item;
7use self::some::Struct;
8use crate_name::some_item;