| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-01-20 | Add test of thread_local containing multiline const block | David Tolnay | -0/+22 | |
| Before making thread_local accept statements inside the const block, this test would fail to compile as follows: error: no rules expected the token `let` --> library/std/tests/thread.rs:26:13 | 26 | let value = 1; | ^^^ no rules expected this token in macro call | note: while trying to match meta-variable `$init:expr` --> library/std/src/thread/local.rs:189:69 | 189 | ($(#[$attr:meta])* $vis:vis static $name:ident: $t:ty = const { $init:expr }; $($rest:tt)*) => ( | ^^^^^^^^^^ | ||||
| 2020-11-30 | Make ui test that are run-pass and do not test the compiler itself library tests | Christiaan Dirkx | -0/+16 | |
