about summary refs log tree commit diff
path: root/tests/ui/conditional-compilation/cfg-empty-codemap.rs
AgeCommit message (Collapse)AuthorLines
2025-04-13UI tests: migrate remaining compile time `error-pattern`s to line annotationsVadim Petrochenkov-3/+3
when possible.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-06-29Update UI tests which relied on old behavior of constructing a default error ↵许杰友 Jieyou Xu (Joe)-1/+1
handler every time `early_warn` is called Skip `colored-session-opt-error.rs` on Windows hosts This is very cursed as to why it fails on Windows CI specifically: - The test emits a *warning*. - *Warnings*, and only warnings *specifically*, have a different 256-color between Windows and non-Windows hosts (other levels `set_intense(true)` unconditionally): https://github.com/rust-lang/rust/blob/e69c7306e2be08939d95f14229e3f96566fb206c/compiler/rustc_errors/src/lib.rs#L1792-L1794 Therefore, I added `// ignore-windows` test header to skip this test on Windows (it's sufficient to test color is enabled on at least one non-Windows host).
2023-01-11Move /src/test to /testsAlbert Larsan-0/+8