aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs
diff options
context:
space:
mode:
authorJohn Renner <[email protected]>2020-04-27 18:02:47 +0100
committerJohn Renner <[email protected]>2020-04-29 19:06:51 +0100
commit0af727da91e7ff3c8ed5518cb7e005e8d4f939b0 (patch)
tree4b1b78edb4d28b2ad98e40f054ab3efe58e33eba /crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs
parent7a9ba1657daa9fd90c639dcd937da11b4f526675 (diff)
Validate the location of `crate` in paths
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs')
-rw-r--r--crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs b/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs
new file mode 100644
index 000000000..bead4c0b6
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs
@@ -0,0 +1,4 @@
1use ::crate;
2use {crate, foo::{crate}};
3use hello::crate;
4use hello::crate::there;