about summary refs log tree commit diff
path: root/tests/ui/parser
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-06-21 21:02:29 -0700
committerGitHub <noreply@github.com>2024-06-21 21:02:29 -0700
commit1916b3d57fce92a42c6acf85b1d9cbf59f16978a (patch)
treee4178204543e559c8c02ba9809dd709ba8f869f6 /tests/ui/parser
parent539090e5cdca218f8657bc51eb131d26fe985ed1 (diff)
parentffd72b1700a6c96b2468e9259fdb4beea11717e0 (diff)
downloadrust-1916b3d57fce92a42c6acf85b1d9cbf59f16978a.tar.gz
rust-1916b3d57fce92a42c6acf85b1d9cbf59f16978a.zip
Rollup merge of #126811 - compiler-errors:tidy-ftl, r=estebank
Add a tidy rule to check that fluent messages and attrs don't end in `.`

This adds a new dependency on `fluent-parse` to `tidy` -- we already rely on it in rustc so I feel like it's not that big of a deal.

This PR also adjusts many error messages that currently end in `.`; not all of them since I added an `ALLOWLIST`, excluded `rustc_codegen_*` ftl files, and `.teach_note` attributes.

r? ``@estebank`` ``@oli-obk``
Diffstat (limited to 'tests/ui/parser')
-rw-r--r--tests/ui/parser/issues/issue-8537.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/parser/issues/issue-8537.stderr b/tests/ui/parser/issues/issue-8537.stderr
index 0d636bd28a5..b685464d8d4 100644
--- a/tests/ui/parser/issues/issue-8537.stderr
+++ b/tests/ui/parser/issues/issue-8537.stderr
@@ -4,7 +4,7 @@ error[E0703]: invalid ABI: found `invalid-ab_isize`
 LL |   "invalid-ab_isize"
    |   ^^^^^^^^^^^^^^^^^^ invalid ABI
    |
-   = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions.
+   = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions
 
 error: aborting due to 1 previous error