Skip to content

Commit 8959434

Browse files
authored
Fix failing test
1 parent db8cb76 commit 8959434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/on-unimplemented/bad-annotation.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ error[E0230]: there is no parameter `C` on trait `BadAnnotation2`
1717
LL | #[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{C}>`"]
1818
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919

20-
error[E0231]: only named substitution parameters are allowed
20+
error[E0231]: only named generic parameters are allowed
2121
--> $DIR/bad-annotation.rs:27:1
2222
|
2323
LL | #[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{}>`"]

0 commit comments

Comments
 (0)