Rollup merge of #42466 - wesleywiser:fix_42407, r=arielb1

syntax_pos::Symbol should not implement Sync

Fixes #42407
This commit is contained in:
Corey Farwell 2017-06-06 22:36:35 -04:00 committed by GitHub
commit bedead25fe

View file

@ -81,6 +81,7 @@ pub struct Symbol(u32);
// The interner in thread-local, so `Symbol` shouldn't move between threads.
impl !Send for Symbol { }
impl !Sync for Symbol { }
impl Symbol {
/// Maps a string to its interned representation.