about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShoyu Vanilla <modulo641@gmail.com>2024-02-12 18:09:39 +0900
committerGitHub <noreply@github.com>2024-02-12 18:09:39 +0900
commit8959434c70c2d3de86f5a1539792fa06de3c5715 (patch)
tree612f078e203c0edfb7fff83d43f490d2cd73e757
parentdb8cb766e23e5438007c8dd12f3392b7f41be56e (diff)
Fix failing test
-rw-r--r--tests/ui/on-unimplemented/bad-annotation.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/on-unimplemented/bad-annotation.stderr b/tests/ui/on-unimplemented/bad-annotation.stderr
index a8d3c8680fa..9bb9423788c 100644
--- a/tests/ui/on-unimplemented/bad-annotation.stderr
+++ b/tests/ui/on-unimplemented/bad-annotation.stderr
@@ -17,7 +17,7 @@ error[E0230]: there is no parameter `C` on trait `BadAnnotation2`
 LL | #[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{C}>`"]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error[E0231]: only named substitution parameters are allowed
+error[E0231]: only named generic parameters are allowed
   --> $DIR/bad-annotation.rs:27:1
    |
 LL | #[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{}>`"]