about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2022-08-17 12:12:59 +0200
committerXiretza <xiretza@xiretza.xyz>2022-08-22 08:42:46 +0200
commit28b29db8f02302997ff161cd97af766fa601aab1 (patch)
tree5f0ff35270fa2493a008074b529a29cf1ca2bb0a /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentc9b1a5874d06ca6c437ca8cca2224d546e8669ec (diff)
downloadrust-28b29db8f02302997ff161cd97af766fa601aab1.tar.gz
rust-28b29db8f02302997ff161cd97af766fa601aab1.zip
fluent: point to path containing error instead of module name
Example error before:

error: name `generic_does_not_live_long_enough` does not start with the crate name
  --> compiler/rustc_error_messages/src/lib.rs:33:17
   |
33 |     borrowck => "../locales/en-US/borrowck.ftl",
   |     ^^^^^^^^
   |
   = help: prepend `borrowck_` to the slug name: `borrowck_generic_does_not_live_long_enough`

after:

error: name `generic_does_not_live_long_enough` does not start with the crate name
  --> compiler/rustc_error_messages/src/lib.rs:33:17
   |
33 |     borrowck => "../locales/en-US/borrowck.ftl",
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: prepend `borrowck_` to the slug name: `borrowck_generic_does_not_live_long_enough`
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions