diff options
author | DJMcNab <[email protected]> | 2018-12-05 21:43:40 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-05 21:43:40 +0000 |
commit | 0a82d768c474818548cc438b1bbe544f3618ee32 (patch) | |
tree | 493a2907b3410e10dad81a61d96cc13b364e2ee7 /crates/ra_syntax/tests/data/parser/inline/0114_use_path.rs | |
parent | 0b1c0ee225a075d25d700fcd1c007615556e2afb (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.rs | 8 |
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 @@ | |||
1 | use ::crate_name; // Rust 2018 - All flavours | ||
2 | use crate_name; // Rust 2018 - Anchored paths | ||
3 | use item_in_scope_or_crate_name; // Rust 2018 - Uniform Paths | ||
4 | |||
5 | use self::module::Item; | ||
6 | use crate::Item; | ||
7 | use self::some::Struct; | ||
8 | use crate_name::some_item; | ||