about summary refs log tree commit diff
path: root/tests/ui/on-unimplemented/bad-annotation.rs
diff options
context:
space:
mode:
authormejrs <59372212+mejrs@users.noreply.github.com>2025-03-29 13:48:14 +0100
committermejrs <59372212+mejrs@users.noreply.github.com>2025-04-14 00:12:37 +0200
commit10ec5cbe96b8b1ba96fbacc207d6a2f0d19ca9e2 (patch)
tree3acb27b9f50e6c4d23e7cd8671bcd33079e2e59f /tests/ui/on-unimplemented/bad-annotation.rs
parent9abaa9d4dffeb897a1dbff97d32d3b6ac190be21 (diff)
downloadrust-10ec5cbe96b8b1ba96fbacc207d6a2f0d19ca9e2.tar.gz
rust-10ec5cbe96b8b1ba96fbacc207d6a2f0d19ca9e2.zip
Raise errors on bad rustc_on_unimplemented format strings again
Diffstat (limited to 'tests/ui/on-unimplemented/bad-annotation.rs')
-rw-r--r--tests/ui/on-unimplemented/bad-annotation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/on-unimplemented/bad-annotation.rs b/tests/ui/on-unimplemented/bad-annotation.rs
index 0936b25847c..f2b97865759 100644
--- a/tests/ui/on-unimplemented/bad-annotation.rs
+++ b/tests/ui/on-unimplemented/bad-annotation.rs
@@ -20,7 +20,7 @@ trait BadAnnotation1
 {}
 
 #[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{C}>`"]
-//~^ WARNING there is no parameter `C` on trait `BadAnnotation2`
+//~^ ERROR cannot find parameter C on this trait
 trait BadAnnotation2<A,B>
 {}