Skip to content

Commit e8137d7

Browse files
committed
Fix a test to recognize newly introduced errors.
1 parent 2a20073 commit e8137d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/compile-fail/issue-22560.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ type Test = Add +
1919
//~| ERROR E0191
2020
//~| NOTE missing associated type `Output` value
2121
Sub;
22-
//~^ ERROR E0225
22+
//~^ ERROR E0393
23+
//~| NOTE missing reference to `RHS`
24+
//~| NOTE because of the default `Self` reference, type parameters must be specified on object types
25+
//~| ERROR E0225
2326
//~| NOTE non-Send/Sync additional trait
2427

2528
fn main() { }

0 commit comments

Comments
 (0)