diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-08-09 09:52:12 +0200 | 
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-09-03 19:14:19 +0200 | 
| commit | 040239465aefc09f8c837ff9d4d66ca6297e5c5c (patch) | |
| tree | eecca87b57c05395eb5c3ed691458cde010c21e3 /compiler/rustc_lint/messages.ftl | |
| parent | 6199b69c53a8c275ca3cd59647ea0af5ca29aae2 (diff) | |
| download | rust-040239465aefc09f8c837ff9d4d66ca6297e5c5c.tar.gz rust-040239465aefc09f8c837ff9d4d66ca6297e5c5c.zip | |
Add an internal lint that warns when accessing untracked data
Diffstat (limited to 'compiler/rustc_lint/messages.ftl')
| -rw-r--r-- | compiler/rustc_lint/messages.ftl | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/compiler/rustc_lint/messages.ftl b/compiler/rustc_lint/messages.ftl index 35334595833..759320b9eb6 100644 --- a/compiler/rustc_lint/messages.ftl +++ b/compiler/rustc_lint/messages.ftl @@ -699,6 +699,9 @@ lint_ptr_null_checks_ref = references are not nullable, so checking them for nul lint_query_instability = using `{$query}` can result in unstable query results .note = if you believe this case to be fine, allow this lint and add a comment explaining your rationale +lint_query_untracked = `{$method}` accesses information that is not tracked by the query system + .note = if you believe this case to be fine, allow this lint and add a comment explaining your rationale + lint_range_endpoint_out_of_range = range endpoint is out of range for `{$ty}` lint_range_use_inclusive_range = use an inclusive range instead | 
