diff options
| author | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-03-29 13:48:14 +0100 |
|---|---|---|
| committer | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-04-14 00:12:37 +0200 |
| commit | 10ec5cbe96b8b1ba96fbacc207d6a2f0d19ca9e2 (patch) | |
| tree | 3acb27b9f50e6c4d23e7cd8671bcd33079e2e59f /tests/ui/on-unimplemented/bad-annotation.rs | |
| parent | 9abaa9d4dffeb897a1dbff97d32d3b6ac190be21 (diff) | |
| download | rust-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.rs | 2 |
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> {} |
