Skip to content
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.

Add TupleVariant and StructVariant DefKinds #10

Merged
merged 1 commit into from
Sep 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,12 @@ pub enum DefKind {
// value = variant names
Enum,
// value = enum name + variant name + types
TupleVariant,
// value = enum name + name + fields
StructVariant,
// value = variant name + types
Tuple,
// value = [enum name +] name + fields
// value = name + fields
Struct,
Union,
// value = signature
Expand Down