| commit | b247df1d268754ba5ebfa92796b4659156586b1a | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Fri Nov 27 12:06:12 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Fri Nov 27 12:20:49 2020 -0800 |
| tree | c27b28c39590942a63ee82646e60b540851d1943 | |
| parent | 4a0c53a7b0de7050634a5151491eb7b7ee68b642 [diff] [blame] |
Preserve span on Derive trait impls
diff --git a/syntax/mod.rs b/syntax/mod.rs index 69b77bc..17b290a 100644 --- a/syntax/mod.rs +++ b/syntax/mod.rs
@@ -33,7 +33,7 @@ use syn::{Expr, Generics, Lifetime, LitInt, Token, Type as RustType}; pub use self::atom::Atom; -pub use self::derive::Derive; +pub use self::derive::{Derive, Trait}; pub use self::doc::Doc; pub use self::parse::parse_items; pub use self::types::Types;