Closed pravic closed 1 year ago
Here's the 1.70 release notes to help navigate:
asm!
operandsformat_args
invocations to uses captureslet _ = expr
position.-Cdebuginfo=line-tables-only
), which may eventually become the default for -Cdebuginfo=1
.unused_allocation
lint against Box::new
tooloongarch64-unknown-linux-gnu
i586-pc-nto-qnx700
(QNX Neutrino RTOS, version 7.0), Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support.
Command
prefer non-verbatim pathsconcat!
Cell
partial_cmp
to implement tuple lt
/le
/ge
/gt
atomic_as_ptr
nonnull_slice_from_raw_parts
once_cell
nonzero_min_max
FnPtr
trait that is implemented for all function pointers
This extends Debug
, Pointer
, Hash
, PartialEq
, Eq
, PartialOrd
, and Ord
implementations for function pointers with all ABIs.NonZero*::MIN/MAX
BinaryHeap::retain
Default for std::collections::binary_heap::IntoIter
Default for std::collections::btree_map::{IntoIter, Iter, IterMut}
Default for std::collections::btree_map::{IntoKeys, Keys}
Default for std::collections::btree_map::{IntoValues, Values}
Default for std::collections::btree_map::Range
Default for std::collections::btree_set::{IntoIter, Iter}
Default for std::collections::btree_set::Range
Default for std::collections::linked_list::{IntoIter, Iter, IterMut}
Default for std::vec::IntoIter
Default for std::iter::Chain
Default for std::iter::Cloned
Default for std::iter::Copied
Default for std::iter::Enumerate
Default for std::iter::Flatten
Default for std::iter::Fuse
Default for std::iter::Rev
Default for std::slice::Iter
Default for std::slice::IterMut
Rc::into_inner
Arc::into_inner
std::cell::OnceCell
Option::is_some_and
NonNull::slice_from_raw_parts
Result::is_ok_and
Result::is_err_and
std::sync::atomic::Atomic*::as_ptr
std::io::IsTerminal
std::os::linux::net::SocketAddrExt
std::os::unix::net::UnixDatagram::bind_addr
std::os::unix::net::UnixDatagram::connect_addr
std::os::unix::net::UnixDatagram::send_to_addr
std::os::unix::net::UnixListener::bind_addr
std::path::Path::as_mut_os_str
std::sync::OnceLock
CARGO_PKG_README
sparse
the default protocol for crates.iocargo logout
libtest
from supporting -Zunstable-options
let _ = expr
position.sign-ext
and mutable-globals
features in codegen
This may cause incompatibility with older execution environments.These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.
I'd say this is a dupe of #101714 . See also this zulip thread.
Location
https://github.com/rust-lang/rust/blob/master/RELEASES.md
Summary