about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2024-09-09 23:54:22 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2024-09-30 00:12:45 +0300
commit91834ec7197efeff7dabcea0091937e3ce0f4d2b (patch)
tree0fd29f247b0d7be242ad52b4e699fe0cfb884390 /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
parent923cb991426a9eb3904f497bce86f33d4a6c935d (diff)
downloadrust-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/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions