Skip to content

Commit 03b568a

Browse files
author
Jorge Aparicio
committed
Fix error message in compile-fail test
1 parent b8fad35 commit 03b568a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/test/compile-fail/deriving-no-inner-impl-error-message.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ struct E {
1717
}
1818
#[deriving(Clone)]
1919
struct C {
20-
x: NoCloneOrEq //~ ERROR does not implement any method in scope named `clone`
20+
x: NoCloneOrEq
21+
//~^ ERROR the trait `core::clone::Clone` is not implemented for the type `NoCloneOrEq`
2122
}
2223

2324

0 commit comments

Comments
 (0)