diff options
| author | David Tolnay <dtolnay@gmail.com> | 2023-01-02 10:31:50 -0800 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2023-01-02 10:33:23 -0800 |
| commit | 257e766c0c17c1a3561a509c931cf89bce27dcf5 (patch) | |
| tree | e102aef3ec94958450a1bf67ae5e4ad0c539a450 /compiler/rustc_codegen_llvm/src | |
| parent | fd59b628ea4d89099ae8ecfce01f271b2a1d9bf5 (diff) | |
| download | rust-257e766c0c17c1a3561a509c931cf89bce27dcf5.tar.gz rust-257e766c0c17c1a3561a509c931cf89bce27dcf5.zip | |
Remove test of static Context
Context is no longer Sync so this doesn't work.
error[E0277]: `*mut ()` cannot be shared between threads safely
--> library/core/tests/task.rs:24:21
|
24 | static CONTEXT: Context<'static> = Context::from_waker(&WAKER);
| ^^^^^^^^^^^^^^^^ `*mut ()` cannot be shared between threads safely
|
= help: within `Context<'static>`, the trait `Sync` is not implemented for `*mut ()`
= note: required because it appears within the type `PhantomData<*mut ()>`
= note: required because it appears within the type `Context<'static>`
= note: shared static variables must have a type that implements `Sync`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
