Fix test that relies on error language
This commit is contained in:
parent
c3fe9e7e4d
commit
8ae3ca98e5
2 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
|||
// ICE: tcx.resolutions(()) is not supported for local crate -Zunpretty=mir
|
||||
// on invalid module path with staged_api
|
||||
//@ compile-flags: -Zunpretty=mir
|
||||
//@ normalize-stderr: "The system cannot find the file specified." -> "No such file or directory"
|
||||
//@ normalize-stderr: "lol`: .*\(" -> "lol`: $$FILE_NOT_FOUND_MSG ("
|
||||
#![feature(staged_api)]
|
||||
#[path = "lol"]
|
||||
mod foo;
|
||||
//~^ ERROR couldn't read
|
||||
//~^ ERROR couldn't read `$DIR/lol`
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
error: couldn't read `$DIR/lol`: No such file or directory (os error 2)
|
||||
error: couldn't read `$DIR/lol`: $FILE_NOT_FOUND_MSG (os error 2)
|
||||
--> $DIR/staged-api-invalid-path-108697.rs:8:1
|
||||
|
|
||||
LL | mod foo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue