Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoyuVanilla committed Feb 12, 2024
1 parent 3856df0 commit db8cb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/on-unimplemented/bad-annotation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ trait BadAnnotation2<A,B>
{}

#[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{}>`"]
//~^ only named substitution parameters are allowed
//~^ only named generic parameters are allowed
trait BadAnnotation3<A,B>
{}

Expand Down

0 comments on commit db8cb76

Please sign in to comment.