about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-11 21:48:42 +0100
committerGitHub <noreply@github.com>2022-02-11 21:48:42 +0100
commitce4df92c8c4740ec90b2d0f9c1406cb3f20cd511 (patch)
tree003b71cfe4e1b2332b699e58b9938e5948e90e14 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6499c5e7fc173a3f55b7a3bd1e6a50e9edef782d (diff)
parenta898b31662aee14c9aaa46f39377724c7ae590b5 (diff)
downloadrust-ce4df92c8c4740ec90b2d0f9c1406cb3f20cd511.tar.gz
rust-ce4df92c8c4740ec90b2d0f9c1406cb3f20cd511.zip
Rollup merge of #90955 - JohnTitor:os-error-123-as-invalid-input, r=m-ou-se
Rename `FilenameTooLong` to `InvalidFilename` and also use it for Windows' `ERROR_INVALID_NAME`

Address https://github.com/rust-lang/rust/issues/90940#issuecomment-970157931
`ERROR_INVALID_NAME` (i.e. "The filename, directory name, or volume label syntax is incorrect") happens if we pass an invalid filename, directory name, or label syntax, so mapping as `InvalidInput` is reasonable to me.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions