diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2024-12-05 20:25:05 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2024-12-05 20:26:49 +0100 |
| commit | 59a5b38bf4ebf74be954c8804789ef2cf35350e9 (patch) | |
| tree | 76f018be92f05d923e935d7546a90cb51ae31193 /src/tools/rust-analyzer/crates/parser/test_data/generated | |
| parent | 6ef7f8e01409884d160769d6a62ba3d82dfb0207 (diff) | |
fix: Fix parsing of dyn T in generic arg on 2015 edition
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.rs | 7 |
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 f9486f53c25..0beaf1ae3a5 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 @@ -190,6 +190,13 @@ mod ok { ); } #[test] + fn edition_2015_dyn_prefix_inside_generic_arg() { + run_and_expect_no_errors_with_edition( + "test_data/parser/inline/ok/edition_2015_dyn_prefix_inside_generic_arg.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() { |
