diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs new file mode 100644 index 000000000..06c387cee --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs | |||
@@ -0,0 +1,4 @@ | |||
1 | use {crate::path::from::root, or::path::from::crate_name}; // Rust 2018 (with a crate named `or`) | ||
2 | use {path::from::root}; // Rust 2015 | ||
3 | use ::{some::arbritrary::path}; // Rust 2015 | ||
4 | use ::{{{crate::export}}}; // Nonsensical but perfectly legal nestnig | ||