diff options
author | Michael Chesser <[email protected]> | 2020-01-06 22:59:03 +0000 |
---|---|---|
committer | Michael Chesser <[email protected]> | 2020-01-06 22:59:03 +0000 |
commit | ce1b34fd59a6145a4bb5682d672c846e101725d4 (patch) | |
tree | 8a9535261dac04f171caa68d4b908cdde0b4a34c /crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rs | |
parent | c92a090f49cad2fa540562536f07fcb619f16680 (diff) |
Improve const generics parsing
- Handle const generics type args
- Fix issue with const generic as first parameter in trait impl
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rs b/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rs new file mode 100644 index 000000000..cb0a105c2 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rs | |||
@@ -0,0 +1 @@ | |||
impl<const N: u32> Bar<N> {} | |||