We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9e7b30 commit 8eba29aCopy full SHA for 8eba29a
compiler/rustc_middle/src/ty/context.rs
@@ -1290,9 +1290,6 @@ pub struct TyCtxt<'tcx> {
1290
gcx: &'tcx GlobalCtxt<'tcx>,
1291
}
1292
1293
-// Explicitly implement `DynSync` and `DynSend` for `TyCtxt` to short circuit trait resolution.
1294
-unsafe impl DynSend for TyCtxt<'_> {}
1295
-unsafe impl DynSync for TyCtxt<'_> {}
1296
fn _assert_tcx_fields() {
1297
sync::assert_dyn_sync::<&'_ GlobalCtxt<'_>>();
1298
sync::assert_dyn_send::<&'_ GlobalCtxt<'_>>();
0 commit comments