mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
cda9a68248
By convention, compiletest directives starting with `ignore-*` normally cause the test itself to be skipped under certain conditions. The `//@ ignore-pass` directive was the only exception to that convention. The new name should hopefully do a better job of communicating its effect, which is to cause the `--pass` flag to not override the test's `build-pass` or `run-pass` directive. The `//@ no-pass-override` directive is mainly useful for tests that expect warnings produced during codegen.
7 lines
282 B
Rust
7 lines
282 B
Rust
//@ build-pass
|
|
//@ no-pass-override (different metadata emitted in different modes)
|
|
//@ compile-flags: --json=diagnostic-short,artifacts --error-format=json
|
|
//@ normalize-stderr: "json-options\..+/libjson_options.rlib" -> "json-options/libjson_options.rlib"
|
|
|
|
#![crate_type = "lib"]
|