]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scripts: rust: mention file name in error messages
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Fri, 28 Feb 2025 17:05:31 +0000 (18:05 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Sat, 8 Mar 2025 22:02:12 +0000 (23:02 +0100)
commitfbefae55991f688f5f1615af30fe64823076b072
tree60e4b77e16a61210baef1899dee90cd5f55094d0
parent562cc3cd0c14f7d96572fb9e0674294c5d7099c5
scripts: rust: mention file name in error messages

Improve two error messages in the script by mentioning the doctest file
path from which the doctest was generated from.

This will allow, in case the conversion fails, to get directly the file
name triggering the issue, making the bug fixing process faster.

Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Link: https://lore.kernel.org/r/20250228170530.950268-2-guillaume1.gomez@gmail.com
[ Reworded and removed an unneeded added parameter comma. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
scripts/rustdoc_test_gen.rs