We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is an index into a thread local vector.
#![feature(rustc_private)] extern crate syntax_pos; extern crate crossbeam; use syntax_pos::symbol::Symbol; fn assert_sync<T: Sync>() {} fn main() { assert_sync::<Symbol>(); let sym = Symbol::intern("share"); crossbeam::scope(|scope| { scope.spawn(|| { println!("{}", sym); }); }); }
thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 4294967237', /checkout/src/libcollections/vec.rs:1552
The text was updated successfully, but these errors were encountered:
I thought @jseyfried had explicit negative impls? What happened to them?
impl
Ahh, there's only a !Send impl, we needs a !Sync one too.
!Send
!Sync
Sorry, something went wrong.
syntax_pos::Symbol should not implement Sync
c47df30
Fixes rust-lang#42407
Rollup merge of rust-lang#42466 - wesleywiser:fix_42407, r=arielb1
bedead2
syntax_pos::Symbol should not implement Sync Fixes rust-lang#42407
No branches or pull requests
It is an index into a thread local vector.
The text was updated successfully, but these errors were encountered: