1 error[E0133]: use of mutable static is unsafe and requires unsafe function or block
2 --> $DIR/static-mut-foreign-requires-unsafe.rs:9:5
5 | ^ use of mutable static
7 = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
9 error[E0133]: use of mutable static is unsafe and requires unsafe function or block
10 --> $DIR/static-mut-foreign-requires-unsafe.rs:10:5
13 | ^ use of mutable static
15 = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
17 error[E0133]: use of mutable static is unsafe and requires unsafe function or block
18 --> $DIR/static-mut-foreign-requires-unsafe.rs:11:14
21 | ^ use of mutable static
23 = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0133`.