1
Fork 0

Refactor CrateConfig.

This commit is contained in:
Jeffrey Seyfried 2016-11-15 08:54:27 +00:00
parent a2626410d7
commit 4b9b0d3474
8 changed files with 64 additions and 141 deletions

View file

@ -22,6 +22,7 @@ use str::char_at;
use tokenstream;
use std::cell::RefCell;
use std::collections::HashSet;
use std::iter;
use std::path::{Path, PathBuf};
use std::rc::Rc;
@ -64,7 +65,7 @@ impl ParseSess {
ParseSess {
span_diagnostic: handler,
unstable_features: UnstableFeatures::from_environment(),
config: Vec::new(),
config: HashSet::new(),
included_mod_stack: RefCell::new(vec![]),
code_map: code_map
}