diff options
author | John Renner <[email protected]> | 2020-04-27 18:02:47 +0100 |
---|---|---|
committer | John Renner <[email protected]> | 2020-04-29 19:06:51 +0100 |
commit | 0af727da91e7ff3c8ed5518cb7e005e8d4f939b0 (patch) | |
tree | 4b1b78edb4d28b2ad98e40f054ab3efe58e33eba /crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs | |
parent | 7a9ba1657daa9fd90c639dcd937da11b4f526675 (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.rs | 4 |
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 @@ | |||
1 | use ::crate; | ||
2 | use {crate, foo::{crate}}; | ||
3 | use hello::crate; | ||
4 | use hello::crate::there; | ||