Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.69.0
->1.73
1.76
(+2)1.69
->1.73
1.76
(+2)Release Notes
rust-lang/rust (rust)
v1.73
Compare Source
==========================
Language
clippy::fn_null_check
lint asuseless_ptr_null_checks
.noop_method_call
warn by default.try
andasync
in macros.unconditional_recursion
lint detect recursive drops.invalid_reference_casting
lint is now deny-by-default (instead of allow-by-default)Compiler
.comment
section like GCC/Clang.extern "thiscall"
and"thiscall-unwind"
ABIs.aarch64-unknown-teeos
csky-unknown-linux-gnuabiv2
riscv64-linux-android
riscv64gc-unknown-hermit
x86_64-unikraft-linux-musl
x86_64-unknown-linux-ohos
wasm32-wasi-preview1-threads
as a tier 2 target.Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.
Libraries
Read
,Write
andSeek
impls forArc<File>
.io::Sink
intoio::Empty
.RefUnwindSafe
forBacktrace
ExitStatus
implementDefault
impl SliceIndex<str> for (Bound<usize>, Bound<usize>)
assert_eq!
&assert_ne!
panic messages.stat
struct definitions.Stabilized APIs
{integer}::div_ceil
{integer}::next_multiple_of
{integer}::checked_next_multiple_of
std::ffi::FromBytesUntilNulError
std::os::unix::fs::chown
std::os::unix::fs::fchown
std::os::unix::fs::lchown
LocalKey::<Cell<T>>::get
LocalKey::<Cell<T>>::set
LocalKey::<Cell<T>>::take
LocalKey::<Cell<T>>::replace
LocalKey::<RefCell<T>>::with_borrow
LocalKey::<RefCell<T>>::with_borrow_mut
LocalKey::<RefCell<T>>::set
LocalKey::<RefCell<T>>::take
LocalKey::<RefCell<T>>::replace
These APIs are now stable in const contexts:
rc::Weak::new
sync::Weak::new
NonNull::as_ref
Cargo
cargo::
in custom build script.Misc
Compatibility Notes
impl Trait
.Internal Changes
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.
rustc_apfloat
with the new version of the crate.internal_features
lint for internal unstable features.v1.72
Compare Source
===========================
v1.71
Compare Source
===========================
suspicious_double_ref_op
lint when callingborrow()
can_eq
inderive(..)
suggestion for missing methodv1.70
Compare Source
==========================
Language
asm!
operandsformat_args
invocations to uses captureslet _ = expr
position.Compiler
This provides a smaller version of debuginfo for cases that only need line number information
(
-Cdebuginfo=line-tables-only
), which may eventually become the default for-Cdebuginfo=1
.unused_allocation
lint againstBox::new
tooloongarch64-unknown-linux-gnu
i586-pc-nto-qnx700
(QNX Neutrino RTOS, version 7.0),This catches undefined behavior at runtime, and may cause existing code to fail.
Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.
Libraries
Command
prefer non-verbatim pathsconcat!
Cell
partial_cmp
to implement tuplelt
/le
/ge
/gt
atomic_as_ptr
nonnull_slice_from_raw_parts
once_cell
nonzero_min_max
FnPtr
trait that is implemented for all function pointersThis extends
Debug
,Pointer
,Hash
,PartialEq
,Eq
,PartialOrd
, andOrd
implementations for function pointers with all ABIs.
Stabilized APIs
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
CARGO_PKG_README
sparse
the default protocol for crates.iocargo logout
Misc
--test-run-directory
Compatibility Notes
libtest
from supporting-Zunstable-options
let _ = expr
position.sign-ext
andmutable-globals
features in codegenThis may cause incompatibility with older execution environments.
This catches undefined behavior at runtime, and may cause existing code to fail.
Internal Changes
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.
Configuration
📅 Schedule: Branch creation - "* * * * *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.