about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src/pretty.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2025-03-12 10:19:25 -0700
committerGitHub <noreply@github.com>2025-03-12 10:19:25 -0700
commit185dd2d01b87e7122427a10dab7e1d92b6976f6c (patch)
treea6b136b08067fe690c26ffcedddb5bf7e02d373a /compiler/rustc_driver_impl/src/pretty.rs
parent0998d4095b0f11061f78a3f9c77a87838a4c1cb7 (diff)
parent7475a3416bb7580ad2327c2f3cd4fd7105848bab (diff)
downloadrust-185dd2d01b87e7122427a10dab7e1d92b6976f6c.tar.gz
rust-185dd2d01b87e7122427a10dab7e1d92b6976f6c.zip
Rollup merge of #134076 - GrigorenkoPV:InvalidFilename, r=joboet
Stabilize `std::io::ErrorKind::InvalidFilename`

FCP complete: https://github.com/rust-lang/rust/issues/130192#issuecomment-2674989358

Tracking issues: #86442 & #130192

This PR:
- Stabilizes `InvalidFilename` without changing its name to `InvalidFileName`.
- Fixes the doc comment (https://github.com/rust-lang/rust/issues/130192#issuecomment-2429534640)
- Does not separate "the name is too long" case into a separate `ErrorKind`. That case is currently documented to be covered by `InvalidFilename` in the doc. I'm not sure if it would be possible to change this later or if that would be an unacceptable breaking change.
- Does not map more raw OS errors to this `ErrorKind` (as suggested in https://github.com/rust-lang/rust/issues/86442#issuecomment-1441709738). This can presumably be addressed later.
Diffstat (limited to 'compiler/rustc_driver_impl/src/pretty.rs')
0 files changed, 0 insertions, 0 deletions