| commit | 4a79b7f8d849541d9241dcc7e48b50d75bd9d5e1 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Dec 30 19:48:42 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Dec 30 20:03:35 2020 -0800 |
| tree | 5edd0378c4dcd228f36ef52bf9aaf0983af9da78 | |
| parent | 0c669ea3d10d707f5210449c9c98d57b46c501ef [diff] [blame] |
Track lifetimes on rust name types
diff --git a/syntax/mod.rs b/syntax/mod.rs index 64ff8e7..6fe45d3 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -254,7 +254,8 @@ // Wrapper for a type which needs to be resolved before it can be printed in // C++. -#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[derive(PartialEq, Eq, Hash)] pub struct RustName { pub rust: Ident, + pub generics: Lifetimes, }