From 3bb46042fb5b8ee421e350c54079cb68b4edc996 Mon Sep 17 00:00:00 2001 From: John Renner Date: Fri, 1 May 2020 08:59:24 -0700 Subject: Validate uses of self and super --- .../test_data/parser/err/0041_illegal_super_keyword_location.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs (limited to 'crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs') diff --git a/crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs b/crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs new file mode 100644 index 000000000..bd4d58042 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs @@ -0,0 +1,4 @@ +use ::super; +use a::super; +use super::a::super; +use a::{super::b}; -- cgit v1.2.3