Skip to content

Commit 9251af3

Browse files
committed
FIXME note + thread safety
1 parent 5c4dacd commit 9251af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub struct ParseSess {
4848
pub config: CrateConfig,
4949
pub missing_fragment_specifiers: RefCell<HashSet<Span>>,
5050
/// Used to determine and report recursive mod inclusions
51-
included_mod_stack: RefCell<Vec<PathBuf>>,
51+
included_mod_stack: Lock<Vec<PathBuf>>, // FIXME: Should be a temporary thread local thing
5252
code_map: Rc<CodeMap>,
5353
}
5454

0 commit comments

Comments
 (0)