commit | e7678920fcbd07ac58ea8d735d3c7731b4ab997f | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Oct 13 20:44:03 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Oct 13 20:44:03 2016 -0700 |
tree | f90eff20b061c91dca3759d9ad48041d4d55ee57 | |
parent | 615cf6ac5e5b1004b9712d7749afd7ed4ed315c8 [diff] [blame] |
Attributes on generic formals and split_for_impl
diff --git a/src/lib.rs b/src/lib.rs index 40d4825..f331a0b 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -36,6 +36,8 @@ mod generics; pub use generics::{Generics, Lifetime, LifetimeDef, TraitBoundModifier, TyParam, TyParamBound, WhereBoundPredicate, WhereClause, WherePredicate, WhereRegionPredicate}; +#[cfg(feature = "printing")] +pub use generics::{ImplGenerics, TyGenerics}; #[cfg(feature = "full")] mod krate;