Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
092a284ba0421695f2032c947765429fd7095796
rust/tests/ui/conditional-compilation/cfg-empty-codemap.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
205 B
Rust
Raw Normal View History

mv codemap source_map
2018-08-18 12:14:14 +02:00
// Tests that empty source_maps don't ICE (#23301)
Test
2015-07-03 12:54:05 +12:00
Update UI tests which relied on old behavior of constructing a default error 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-06-29 01:32:31 +08:00
//@ compile-flags: --error-format=human --cfg ""
Test
2015-07-03 12:54:05 +12:00
Validate syntax of `--cfg` command line arguments
2018-09-06 01:15:46 +03:00
//@ error-pattern: invalid `--cfg` argument: `""` (expected `key` or `key="value"`)
Test
2015-07-03 12:54:05 +12:00
pub fn main() {
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 2497ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API