aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs
diff options
context:
space:
mode:
authorJohn Renner <[email protected]>2020-05-01 16:59:24 +0100
committerJohn Renner <[email protected]>2020-05-01 16:59:24 +0100
commit3bb46042fb5b8ee421e350c54079cb68b4edc996 (patch)
treed464e978f3bde80b73e57bc83adcf9154e7169c2 /crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs
parent6d49c7dfa3ae33e610905522caf5734c7cbca3ac (diff)
Validate uses of self and super
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs')
-rw-r--r--crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs b/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs
new file mode 100644
index 000000000..b9e1d7d8b
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs
@@ -0,0 +1,2 @@
1use ::self;
2use a::self;