summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/typeck_type_placeholder_mismatch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/typeck_type_placeholder_mismatch.rs')
-rw-r--r--tests/ui/typeck/typeck_type_placeholder_mismatch.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/typeck/typeck_type_placeholder_mismatch.rs b/tests/ui/typeck/typeck_type_placeholder_mismatch.rs
index 2f9cfcf8d..718b6deed 100644
--- a/tests/ui/typeck/typeck_type_placeholder_mismatch.rs
+++ b/tests/ui/typeck/typeck_type_placeholder_mismatch.rs
@@ -14,7 +14,7 @@ fn test1() {
//~^ ERROR mismatched types
//~| expected struct `Foo<_>`
//~| found struct `Bar<usize>`
- //~| expected struct `Foo`, found struct `Bar`
+ //~| expected `Foo<_>`, found `Bar<usize>`
let y: Foo<usize> = x;
}
@@ -23,5 +23,5 @@ fn test2() {
//~^ ERROR mismatched types
//~| expected struct `Foo<_>`
//~| found struct `Bar<usize>`
- //~| expected struct `Foo`, found struct `Bar`
+ //~| expected `Foo<_>`, found `Bar<usize>`
}