fix(codegen): Support extern crate serde not in toplevel module

This commit is contained in:
David Tolnay
2016-04-24 10:59:57 -07:00
parent a959073a81
commit 305fab7c16
10 changed files with 91 additions and 79 deletions
+2 -1
View File
@@ -2,7 +2,8 @@ use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
use std::net;
use std::path::PathBuf;
use serde::de::{Deserializer, Visitor};
extern crate serde;
use self::serde::de::{Deserializer, Visitor};
use token::{
Error,