about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/rustdoc.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-07-16 17:06:43 +0200
committerGitHub <noreply@github.com>2025-07-16 17:06:43 +0200
commit19470bc9c55b03d774658f457f98d197f3663c4f (patch)
treef6523db1229e0245d80be0878a0df641647fc7af /compiler/rustc_resolve/src/rustdoc.rs
parent645463a12d91ab17827e349da1a0fcc417266c13 (diff)
parentcbaaf153a58ed0ebbc9c327c3d61462aef7aee15 (diff)
downloadrust-19470bc9c55b03d774658f457f98d197f3663c4f.tar.gz
rust-19470bc9c55b03d774658f457f98d197f3663c4f.zip
Rollup merge of #143957 - samueltardieu:tidy-filenames, r=Kobzol
tidy: check for invalid file names

Check for file names added to git with:
- non-UTF8 filenames (this would fail "fmt check" with a decoding error for the moment, but maybe we should not count on it as it is an accidental failure)
- control characters (such as "\n" or "\r" in file names)
- ":" (which is a special character on Windows, made rust-lang/rust#142936 fail in bors while it could have be caught earlier)

It only checks files known by git as a developer might want to have "strange" file names alongside their local repository as long as they don't check them in.

r? jieyouxu
as he stumbled upon such a file in rust-lang/rust#142936
Diffstat (limited to 'compiler/rustc_resolve/src/rustdoc.rs')
0 files changed, 0 insertions, 0 deletions