summary refs log tree commit diff
path: root/src/test/compile-fail/issue-21160.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/issue-21160.rs')
-rw-r--r--src/test/compile-fail/issue-21160.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-21160.rs b/src/test/compile-fail/issue-21160.rs
index 45b7fbbd0b4..557bf518a3c 100644
--- a/src/test/compile-fail/issue-21160.rs
+++ b/src/test/compile-fail/issue-21160.rs
@@ -16,6 +16,6 @@ impl Bar {
 
 #[derive(Hash)]
 struct Foo(Bar);
-//~^ error: the trait `core::hash::Hash<_>` is not implemented for the type `Bar`
+//~^ error: the trait `core::hash::Hash` is not implemented for the type `Bar`
 
 fn main() {}