From 64a65a4ff40e0c9b6d9453af79bba013afde2ffa Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 8 Aug 2018 00:53:03 +0300 Subject: trait items --- tests/data/parser/inline/0090_trait_item_items.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/data/parser/inline/0090_trait_item_items.rs (limited to 'tests/data/parser/inline/0090_trait_item_items.rs') diff --git a/tests/data/parser/inline/0090_trait_item_items.rs b/tests/data/parser/inline/0090_trait_item_items.rs new file mode 100644 index 000000000..a5ec3239f --- /dev/null +++ b/tests/data/parser/inline/0090_trait_item_items.rs @@ -0,0 +1,6 @@ +impl F { + type A: Clone; + const B: i32; + fn foo() {} + fn bar(&self); +} -- cgit v1.2.3