about summary refs log tree commit diff
path: root/tests/ui/parser
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-08-11 17:02:32 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-08-11 17:02:32 +0000
commit32ee26c625e8fbb7a3aa56788cbb352f04491964 (patch)
tree7aa1e7f03f7f47ce16b3405859d41e35f32bd945 /tests/ui/parser
parent413ca5d9f0868f5d91a8b773ce60d70d5205c3f3 (diff)
downloadrust-32ee26c625e8fbb7a3aa56788cbb352f04491964.tar.gz
rust-32ee26c625e8fbb7a3aa56788cbb352f04491964.zip
Add more docs to templates for attrs with incorrect arguments
Diffstat (limited to 'tests/ui/parser')
-rw-r--r--tests/ui/parser/bad-lit-suffixes.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/parser/bad-lit-suffixes.stderr b/tests/ui/parser/bad-lit-suffixes.stderr
index 7876d75c5a4..9a51cf70960 100644
--- a/tests/ui/parser/bad-lit-suffixes.stderr
+++ b/tests/ui/parser/bad-lit-suffixes.stderr
@@ -158,6 +158,7 @@ LL | #[must_use = "string"suffix]
    |              |
    |              expected a string literal here
    |
+   = note: for more information, visit <https://doc.rust-lang.org/reference/attributes/diagnostics.html#the-must_use-attribute>
 help: try changing it to one of the following valid forms of the attribute
    |
 LL - #[must_use = "string"suffix]