summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-24819.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-24819.rs')
-rw-r--r--tests/ui/issues/issue-24819.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-24819.rs b/tests/ui/issues/issue-24819.rs
index 59c3f2cd1..fb4cfb7b2 100644
--- a/tests/ui/issues/issue-24819.rs
+++ b/tests/ui/issues/issue-24819.rs
@@ -4,7 +4,7 @@ fn main() {
let mut v = Vec::new();
foo(&mut v);
//~^ ERROR mismatched types
- //~| expected struct `HashSet`, found struct `Vec`
+ //~| expected `&mut HashSet<u32>`, found `&mut Vec<_>`
}
fn foo(h: &mut HashSet<u32>) {