mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
fix crateresolve*.rs tests and duplicates for compare modes
- duplicates of crateresolve1 are used in a couple error-codes tests - also fix the note in crateresolve1 to link to these other duplicates, now that E0523 has been merged into E0464
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
//@ aux-build:crateresolve1-2.rs
|
||||
//@ aux-build:crateresolve1-3.rs
|
||||
|
||||
//@ normalize-stderr: "\.nll/" -> "/"
|
||||
//@ normalize-stderr: "crateresolve1\..+/auxiliary/" -> "crateresolve1/auxiliary/"
|
||||
//@ normalize-stderr: "\\\?\\" -> ""
|
||||
//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
|
||||
|
||||
// NOTE: This test is duplicated at `tests/ui/error-codes/E0464.rs`.
|
||||
// NOTE: This test is duplicated at `tests/ui/error-codes/E0464.rs` and `E0523.rs`.
|
||||
|
||||
extern crate crateresolve1;
|
||||
//~^ ERROR multiple candidates for `rlib` dependency `crateresolve1` found
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
//@ aux-build:crateresolve2-2.rs
|
||||
//@ aux-build:crateresolve2-3.rs
|
||||
|
||||
//@ normalize-stderr: "\.nll/" -> "/"
|
||||
//@ normalize-stderr: "crateresolve2\..+/auxiliary/" -> "crateresolve2/auxiliary/"
|
||||
//@ normalize-stderr: "\\\?\\" -> ""
|
||||
|
||||
extern crate crateresolve2;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//@ aux-build:crateresolve1-2.rs
|
||||
//@ aux-build:crateresolve1-3.rs
|
||||
|
||||
//@ normalize-stderr: "\.nll/" -> "/"
|
||||
//@ normalize-stderr: "E0464\..+/auxiliary/" -> "E0464/auxiliary/"
|
||||
//@ normalize-stderr: "\\\?\\" -> ""
|
||||
//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//@ aux-build:crateresolve1-2.rs
|
||||
//@ aux-build:crateresolve1-3.rs
|
||||
|
||||
//@ normalize-stderr: "\.nll/" -> "/"
|
||||
//@ normalize-stderr: "E0523\..+/auxiliary/" -> "E0523/auxiliary/"
|
||||
//@ normalize-stderr: "\\\?\\" -> ""
|
||||
//@ normalize-stderr: "(lib)?crateresolve1-([123])\.[a-z]+" -> "libcrateresolve1-$2.somelib"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user