style: Factor out some of style_derive.

Differential Revision: https://phabricator.services.mozilla.com/D17188
This commit is contained in:
Cameron McCormack 2019-03-30 00:16:01 +00:00 committed by Emilio Cobos Álvarez
parent f581d2afb2
commit d8a758272e
13 changed files with 40 additions and 9 deletions

View file

@ -2,8 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use crate::cg;
use darling::util::Override;
use derive_common::cg;
use proc_macro2::TokenStream;
use quote::{ToTokens, TokenStreamExt};
use syn::{self, Data, Path, WhereClause};