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.70.0
->1.75
1.70
->1.75
Release Notes
rust-lang/rust (rust)
v1.75
Compare Source
==========================
Language
async fn
and return-positionimpl Trait
in traits.&mut T
inconst
contexts.usize
/isize
exhaustively with half-open ranges.char
has the same size and alignment asu32
.match
.Compiler
COINDUCTIVE_OVERLAP_IN_COHERENCE
to deny, and warn in dependencies.riscv64-linux-android
target spec.csky-unknown-linux-gnuabiv2hf
i586-unknown-netbsd
mipsel-unknown-netbsd
Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.
Libraries
Waker::clone_from
to avoid cloningWaker
s unnecessarily.BufRead
forVecDeque<u8>
.FusedIterator
forDecodeUtf16
when the inner iterator does.Not, Bit{And,Or}{,Assign}
for IP addresses.Default
forExitCode
.str::SplitInclusive
'sDoubleEndedIterator
implcfg(unix)
platforms.Stabilized APIs
Atomic*::from_ptr
FileTimes
FileTimesExt
File::set_modified
File::set_times
IpAddr::to_canonical
Ipv6Addr::to_canonical
Option::as_slice
Option::as_mut_slice
pointer::byte_add
pointer::byte_offset
pointer::byte_offset_from
pointer::byte_sub
pointer::wrapping_byte_add
pointer::wrapping_byte_offset
pointer::wrapping_byte_sub
These APIs are now stable in const contexts:
Ipv6Addr::to_ipv4_mapped
MaybeUninit::assume_init_read
MaybeUninit::zeroed
mem::discriminant
mem::zeroed
Cargo
[workspace.members]
automatically.Cargo.toml
manifests.Rustdoc
#[repr(transparent)]
if it isn't part of the public ABI.Compatibility Notes
const
contexts.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.
librustc_driver.so
with BOLT.rustc-codegen-cranelift
as rustup component on the nightly channel.v1.74
Compare Source
===========================
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 methodConfiguration
📅 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.