about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/parser/test_data/generated
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2024-07-19 20:20:00 +0200
committerLukas Wirth <lukastw97@gmail.com>2024-07-19 20:20:30 +0200
commit9357572d9b5bc08919fc7c55e62c97da94a123d5 (patch)
tree40abc977022143b2371774d98a26c823dd2adeb7 /src/tools/rust-analyzer/crates/parser/test_data/generated
parent95c48af7346d280a0378adc302eb94f13c0376a6 (diff)
Parse contextual dyn keyword properly in edition 2015
Diffstat (limited to 'src/tools/rust-analyzer/crates/parser/test_data/generated')
-rw-r--r--src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs b/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs
index d0e6b3f6c92..a935fe4ee30 100644
--- a/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs
+++ b/src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs
@@ -195,6 +195,13 @@ mod ok {
         run_and_expect_no_errors("test_data/parser/inline/ok/dyn_trait_type.rs");
     }
     #[test]
+    fn dyn_trait_type_weak() {
+        run_and_expect_no_errors_with_edition(
+            "test_data/parser/inline/ok/dyn_trait_type_weak.rs",
+            crate::Edition::Edition2015,
+        );
+    }
+    #[test]
     fn effect_blocks() { run_and_expect_no_errors("test_data/parser/inline/ok/effect_blocks.rs"); }
     #[test]
     fn exclusive_range_pat() {