Skip to content

Commit b3d8073

Browse files
diliopfacebook-github-bot
authored andcommitted
Update platform010 & platform010-aarch64 symlinks
Summary: Release notes: https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/ Relevant changes: * `feature(extract_if)` stabilized * `feature(ptr_sub_ptr)` stabilized * `feature(os_str_display)` stabilized * `feature(slice_take)` stabilized * `feature(hash_raw_entry)` removed * `sub_ptr` renamed to `offset_from_unsigned` ([#137483](rust-lang/rust#137483)) * `MaybeUninit::uninit_array()` uses replaced with inline const blocks ([#125082](rust-lang/rust#125082)) * Lint `#[must_use`] attributes applied to methods in trait impls ([#136923](rust-lang/rust#136923)) * `clippy` lints: `io_other_error`, `elidable_lifetime_names`, `mem_replace_option_with_some`, `manual_contains`, `owned_cow` Reviewed By: dtolnay Differential Revision: D75010345 fbshipit-source-id: ab6ee65fe82eb7fe90b5aa9bbeeedefed2befad1
1 parent ba47708 commit b3d8073

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

hphp/hack/src/hackc/bytecode_printer/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub(crate) fn into_error(e: io::Error) -> Error {
5656

5757
impl From<Error> for std::io::Error {
5858
fn from(e: Error) -> Self {
59-
io::Error::new(io::ErrorKind::Other, e)
59+
io::Error::other(e)
6060
}
6161
}
6262

hphp/hack/src/hackc/print_expr/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub(crate) fn into_error(e: io::Error) -> Error {
4141

4242
impl From<Error> for std::io::Error {
4343
fn from(e: Error) -> Self {
44-
io::Error::new(io::ErrorKind::Other, e)
44+
io::Error::other(e)
4545
}
4646
}
4747

hphp/hack/src/oxidized/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// This source code is licensed under the MIT license found in the
44
// LICENSE file in the "hack" directory of this source tree.
55
#![feature(box_patterns)]
6-
#![feature(extract_if)]
76

87
#[macro_use]
98
extern crate rust_to_ocaml_attr;

0 commit comments

Comments
 (0)