fix json-*.rs
and E0462
tests for compare-modes · rust-lang/rust@62d0771 (original) (raw)
3 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
1 | 1 | //@ aux-build:found-staticlib.rs |
2 | 2 | |
3 | -//@ normalize-stderr: "\.nll/" -> "/" | |
3 | +//@ normalize-stderr: "E0462\..+/auxiliary/" -> "E0462/auxiliary/" | |
4 | 4 | //@ normalize-stderr: "\\\?\\" -> "" |
5 | 5 | //@ normalize-stderr: "(lib)?found_staticlib\.[a-z]+" -> "libfound_staticlib.somelib" |
6 | 6 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
1 | 1 | //@ build-pass |
2 | 2 | //@ ignore-pass (different metadata emitted in different modes) |
3 | 3 | //@ compile-flags: --json=diagnostic-short --json artifacts --error-format=json |
4 | +//@ normalize-stderr: "json-multiple\..+/libjson_multiple.rlib" -> "json-multiple/libjson_multiple.rlib" | |
4 | 5 | |
5 | 6 | #![crate_type = "lib"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
1 | 1 | //@ build-pass |
2 | 2 | //@ ignore-pass (different metadata emitted in different modes) |
3 | 3 | //@ compile-flags: --json=diagnostic-short,artifacts --error-format=json |
4 | +//@ normalize-stderr: "json-options\..+/libjson_options.rlib" -> "json-options/libjson_options.rlib" | |
4 | 5 | |
5 | 6 | #![crate_type = "lib"] |