summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/issue-102989.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/issue-102989.rs')
-rw-r--r--tests/ui/traits/issue-102989.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/traits/issue-102989.rs b/tests/ui/traits/issue-102989.rs
index 216cd78e5..f1ecee0a5 100644
--- a/tests/ui/traits/issue-102989.rs
+++ b/tests/ui/traits/issue-102989.rs
@@ -7,6 +7,7 @@ trait Sized { } //~ ERROR found duplicate lang item `sized`
fn ref_Struct(self: &Struct, f: &u32) -> &u32 {
//~^ ERROR `self` parameter is only allowed in associated functions
//~| ERROR cannot find type `Struct` in this scope
+ //~| ERROR mismatched types
let x = x << 1;
//~^ ERROR cannot find value `x` in this scope
}