diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-09-09 23:54:22 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-09-30 00:12:45 +0300 |
| commit | 91834ec7197efeff7dabcea0091937e3ce0f4d2b (patch) | |
| tree | 0fd29f247b0d7be242ad52b4e699fe0cfb884390 /tests/codegen/patchable-function-entry | |
| parent | 923cb991426a9eb3904f497bce86f33d4a6c935d (diff) | |
| download | rust-91834ec7197efeff7dabcea0091937e3ce0f4d2b.tar.gz rust-91834ec7197efeff7dabcea0091937e3ce0f4d2b.zip | |
Gate `#[test]` expansion under `cfg(test)`.
This will mean users opting to not activate `cfg(test)` will lose IDE experience on them, which is quite unfortunate, but this is unavoidable if we want to avoid false positives on e.g. diagnostics. The real fix is to provide IDE experience even for cfg'ed out code, but this is out of scope for this PR.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
