diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-06-06 22:36:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-06 22:36:35 -0400 |
| commit | bedead25fedc1a76d8deb65b342a10fcebf8f646 (patch) | |
| tree | 165cff9afeadbab32847bcccb49816ccae808ef3 /src | |
| parent | 9e8c94c5d7ba99f7a3d23c01947cf77313822f1f (diff) | |
| parent | c47df30a0bf069edb9a280031fa09f0714b5d5f3 (diff) | |
| download | rust-bedead25fedc1a76d8deb65b342a10fcebf8f646.tar.gz rust-bedead25fedc1a76d8deb65b342a10fcebf8f646.zip | |
Rollup merge of #42466 - wesleywiser:fix_42407, r=arielb1
syntax_pos::Symbol should not implement Sync Fixes #42407
Diffstat (limited to 'src')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index 73c0256f2c1..6b5caff27e8 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -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. |
