diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2017-06-05 21:52:34 -0400 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2017-06-05 21:52:34 -0400 |
| commit | c47df30a0bf069edb9a280031fa09f0714b5d5f3 (patch) | |
| tree | 8bed1abdba52307a49373a5268aecacb8218e888 /src/libsyntax_pos | |
| parent | ae7920153331f26f2bc144f62082e95e74c2ba31 (diff) | |
| download | rust-c47df30a0bf069edb9a280031fa09f0714b5d5f3.tar.gz rust-c47df30a0bf069edb9a280031fa09f0714b5d5f3.zip | |
syntax_pos::Symbol should not implement Sync
Fixes #42407
Diffstat (limited to 'src/libsyntax_pos')
| -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. |
