Rollup merge of #130207 - GrigorenkoPV:ERROR_CANT_RESOLVE_FILENAME, r… · qinheping/verify-rust-std@6ff27d2 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 6ff27d2
Rollup merge of rust-lang#130207 - GrigorenkoPV:ERROR_CANT_RESOLVE_FILENAME, r=ChrisDenton
Map `ERROR_CANT_RESOLVE_FILENAME` to `ErrorKind::FilesystemLoop` cc rust-lang#86442As summarized in rust-lang#130188, there seems to be a consensus that this should be done.
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -122,6 +122,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind { | ||
122 | 122 | c::ERROR_NOT_SAME_DEVICE => return CrossesDevices, |
123 | 123 | c::ERROR_TOO_MANY_LINKS => return TooManyLinks, |
124 | 124 | c::ERROR_FILENAME_EXCED_RANGE => return InvalidFilename, |
125 | + c::ERROR_CANT_RESOLVE_FILENAME => return FilesystemLoop, | |
125 | 126 | _ => {} |
126 | 127 | } |
127 | 128 |