Skip to content

Commit 4077b49

Browse files
committed
Fix miri test
1 parent e4e63bd commit 4077b49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/miri/tests/fail/rustc-error2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ struct Struct<T>(T);
44
impl<T> std::ops::Deref for Struct<T> {
55
type Target = dyn Fn(T);
66
fn deref(&self) -> &assert_mem_uninitialized_valid::Target {
7-
//~^ERROR: undeclared crate or module
7+
//~^ ERROR: cannot find item `assert_mem_uninitialized_valid`
88
unimplemented!()
99
}
1010
}

src/tools/miri/tests/fail/rustc-error2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0433]: cannot find item `assert_mem_uninitialized_valid`
1+
error[E0433]: cannot find item `assert_mem_uninitialized_valid` in this scope
22
--> $DIR/rustc-error2.rs:LL:CC
33
|
44
LL | fn deref(&self) -> &assert_mem_uninitialized_valid::Target {

0 commit comments

Comments
 (0)