about summary refs log tree commit diff
path: root/library/std/src/io/error
diff options
context:
space:
mode:
authorYuki Okushi <yuki.okushi@huawei.com>2022-02-10 23:49:27 +0900
committerYuki Okushi <yuki.okushi@huawei.com>2022-02-10 23:49:27 +0900
commita898b31662aee14c9aaa46f39377724c7ae590b5 (patch)
treeae33df71e08d19cd7240662e482f60967311e9e2 /library/std/src/io/error
parent861f3c70a27d007ed8113fe776aa393d8e25faa0 (diff)
Rename to `InvalidFilename`
Diffstat (limited to 'library/std/src/io/error')
-rw-r--r--library/std/src/io/error/repr_bitpacked.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/error/repr_bitpacked.rs b/library/std/src/io/error/repr_bitpacked.rs
index f317368e8e5..4301e941b3d 100644
--- a/library/std/src/io/error/repr_bitpacked.rs
+++ b/library/std/src/io/error/repr_bitpacked.rs
@@ -315,7 +315,7 @@ fn kind_from_prim(ek: u32) -> Option<ErrorKind> {
         Deadlock,
         CrossesDevices,
         TooManyLinks,
-        FilenameTooLong,
+        InvalidFilename,
         ArgumentListTooLong,
         Interrupted,
         Other,