diff options
| author | Jules Bertholet <julesbertholet@quoi.xyz> | 2025-09-10 17:11:47 -0400 |
|---|---|---|
| committer | Jules Bertholet <julesbertholet@quoi.xyz> | 2025-09-26 13:51:09 -0400 |
| commit | a4e87e940620bc0e61caa7c42b1edc53c0aee7cb (patch) | |
| tree | f95a5829a89130a66b3c27ae5154f4d373c4b381 /library/std/tests | |
| parent | ae12bc21d8ec76bbb753d4da168e9b08e1b09ebf (diff) | |
| download | rust-a4e87e940620bc0e61caa7c42b1edc53c0aee7cb.tar.gz rust-a4e87e940620bc0e61caa7c42b1edc53c0aee7cb.zip | |
Support `#[rustc_align_static]` inside `thread_local!`
Diffstat (limited to 'library/std/tests')
| -rw-r--r-- | library/std/tests/thread.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/tests/thread.rs b/library/std/tests/thread.rs index 29f220d8a70..dc8eadd7514 100644 --- a/library/std/tests/thread.rs +++ b/library/std/tests/thread.rs @@ -66,6 +66,8 @@ fn thread_local_hygeiene() { type Storage = (); type LazyStorage = (); type EagerStorage = (); + #[allow(non_camel_case_types)] + type usize = (); thread_local! { static A: LocalKey = const { () }; static B: Storage = const { () }; |
