mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Update ui test for deny global_allocator + thread_local
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
error: allocators cannot be `#[thread_local]`
|
||||
--> $DIR/no-thread-local.rs:6:1
|
||||
|
|
||||
LL | / #[thread_local]
|
||||
LL | |
|
||||
LL | | static A: System = System;
|
||||
| |__________________________^
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
Reference in New Issue
Block a user