You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #41624 - RalfJung:mutexguard-sync, r=alexcrichton
MutexGuard<T> may be Sync only if T is Sync
Fixes#41622
This is a breaking change. Does that imply any further process?
I am not sure whether I wrote that "compilation must fail"-test correctly, but at least it is passing here with the patch applied. Same for the `since = "1.18.0"`, I just picked it because I had to pick something.
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
+
// option. This file may not be copied, modified, or distributed
9
+
// except according to those terms.
10
+
11
+
// MutexGuard<Cell<i32>> must not be Sync, that would be unsound.
0 commit comments