]> git.lizzy.rs Git - rust.git/blobdiff - RELEASES.md
change `InlineAsmCtxt` to not talk about `FnCtxt`
[rust.git] / RELEASES.md
index c6801e8d93506b33a16c0d72dc0c5dcc931112c6..e66bf60b7f781d665679169f17a76692f9933482 100644 (file)
@@ -3,12 +3,12 @@ Version 1.63.0 (2022-08-11)
 
 Language
 --------
-- [Remove migrate borrowck mode.][95565]
+- [Remove migrate borrowck mode for pre-NLL errors.][95565]
 - [Modify MIR building to drop repeat expressions with length zero.][95953]
 - [Remove label/lifetime shadowing warnings.][96296]
-- [Stabilize `explicit_generic_args_with_impl_trait`.][96868]
-- [make `cenum_impl_drop_cast` deny-by-default.][97652]
-- [Prevent unwinding when `-C panic=abort` is used regardless declared ABI.][96959]
+- [Allow explicit generic arguments in the presence of `impl Trait` args.][96868]
+- [Make `cenum_impl_drop_cast` warnings deny-by-default.][97652]
+- [Prevent unwinding when `-C panic=abort` is used regardless of declared ABI.][96959]
 - [lub: don't bail out due to empty binders.][97867]
 
 Compiler
@@ -16,7 +16,7 @@ Compiler
 - [Stabilize the `bundle` native library modifier,][95818] also removing the
   deprecated `static-nobundle` linking kind.
 - [Add Apple WatchOS compile targets\*.][95243]
-- [Add Windows application manifest to rustc-main.][96737]
+- [Add Windows application manifest to rustc-main.][96737]
 
 \* Refer to Rust's [platform support page][platform-support-doc] for more
    information on Rust's tiered platform support.
@@ -28,9 +28,9 @@ Libraries
 - [`impl Read and Write for VecDeque<u8>`.][95632]
 - [STD support for the Nintendo 3DS.][95897]
 - [Make write/print macros eagerly drop temporaries.][96455]
-- [Implement `[OsStr]::join`.][96881]
+- [Implement internal traits that enable `[OsStr]::join`.][96881]
 - [Implement `Hash` for `core::alloc::Layout`.][97034]
-- [os str capacity documentation.][97202]
+- [Add capacity documentation for `OsString`.][97202]
 - [Put a bound on collection misbehavior.][97316]
 - [Make `std::mem::needs_drop` accept `?Sized`.][97675]
 - [`impl Termination for Infallible` and then make the `Result` impls of `Termination` more generic.][97803]
@@ -41,8 +41,8 @@ Stabilized APIs
 
 - [`array::from_fn`]
 - [`Box::into_pin`]
-- [`BinaryHeap::try_reserve_exact`]
 - [`BinaryHeap::try_reserve`]
+- [`BinaryHeap::try_reserve_exact`]
 - [`OsString::try_reserve`]
 - [`OsString::try_reserve_exact`]
 - [`PathBuf::try_reserve`]
@@ -50,7 +50,7 @@ Stabilized APIs
 - [`Path::try_exists`]
 - [`Ref::filter_map`]
 - [`RefMut::filter_map`]
-- [`NonNull::<[T]>::len`]
+- [`NonNull::<[T]>::len`][`NonNull::<slice>::len`]
 - [`ToOwned::clone_into`]
 - [`Ipv6Addr::to_ipv4_mapped`]
 - [`unix::io::AsFd`]
@@ -91,13 +91,14 @@ These APIs are now usable in const contexts:
 
 Cargo
 -----
-- [Stabilize config-cli.][cargo/10755]
-- [Expose rust-version through env var.][cargo/10713]
+- [Stabilize the `--config path` command-line argument.][cargo/10755]
+- [Expose rust-version in the environment as `CARGO_PKG_RUST_VERSION`.][cargo/10713]
 
 Compatibility Notes
 -------------------
 
-- [rustc: Stricter checking for #[link] attributes.][96885]
+- [`#[link]` attributes are now checked more strictly,][96885] which may introduce
+  errors for invalid attribute arguments that were previously ignored.
 
 Internal Changes
 ----------------
@@ -135,6 +136,54 @@ and related tools.
 [cargo/10713]: https://github.com/rust-lang/cargo/pull/10713/
 [cargo/10755]: https://github.com/rust-lang/cargo/pull/10755/
 
+[`array::from_fn`]: https://doc.rust-lang.org/stable/std/array/fn.from_fn.html
+[`Box::into_pin`]: https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_pin
+[`BinaryHeap::try_reserve_exact`]: https://doc.rust-lang.org/stable/alloc/collections/binary_heap/struct.BinaryHeap.html#method.try_reserve_exact
+[`BinaryHeap::try_reserve`]: https://doc.rust-lang.org/stable/std/collections/struct.BinaryHeap.html#method.try_reserve
+[`OsString::try_reserve`]: https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.try_reserve
+[`OsString::try_reserve_exact`]: https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.try_reserve_exact
+[`PathBuf::try_reserve`]: https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.try_reserve
+[`PathBuf::try_reserve_exact`]: https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.try_reserve_exact
+[`Path::try_exists`]: https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.try_exists
+[`Ref::filter_map`]: https://doc.rust-lang.org/stable/std/cell/struct.Ref.html#method.filter_map
+[`RefMut::filter_map`]: https://doc.rust-lang.org/stable/std/cell/struct.RefMut.html#method.filter_map
+[`NonNull::<slice>::len`]: https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.len
+[`ToOwned::clone_into`]: https://doc.rust-lang.org/stable/std/borrow/trait.ToOwned.html#method.clone_into
+[`Ipv6Addr::to_ipv4_mapped`]: https://doc.rust-lang.org/stable/std/net/struct.Ipv6Addr.html#method.to_ipv4_mapped
+[`unix::io::AsFd`]: https://doc.rust-lang.org/stable/std/os/unix/io/trait.AsFd.html
+[`unix::io::BorrowedFd<'fd>`]: https://doc.rust-lang.org/stable/std/os/unix/io/struct.BorrowedFd.html
+[`unix::io::OwnedFd`]: https://doc.rust-lang.org/stable/std/os/unix/io/struct.OwnedFd.html
+[`windows::io::AsHandle`]: https://doc.rust-lang.org/stable/std/os/windows/io/trait.AsHandle.html
+[`windows::io::BorrowedHandle<'handle>`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.BorrowedHandle.html
+[`windows::io::OwnedHandle`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedHandle.html
+[`windows::io::HandleOrInvalid`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.HandleOrInvalid.html
+[`windows::io::HandleOrNull`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.HandleOrNull.html
+[`windows::io::InvalidHandleError`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.InvalidHandleError.html
+[`windows::io::NullHandleError`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.NullHandleError.html
+[`windows::io::AsSocket`]: https://doc.rust-lang.org/stable/std/os/windows/io/trait.AsSocket.html
+[`windows::io::BorrowedSocket<'handle>`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.BorrowedSocket.html
+[`windows::io::OwnedSocket`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedSocket.html
+[`thread::scope`]: https://doc.rust-lang.org/stable/std/thread/fn.scope.html
+[`thread::Scope`]: https://doc.rust-lang.org/stable/std/thread/struct.Scope.html
+[`thread::ScopedJoinHandle`]: https://doc.rust-lang.org/stable/std/thread/struct.ScopedJoinHandle.html
+
+[`array::from_ref`]: https://doc.rust-lang.org/stable/std/array/fn.from_ref.html
+[`slice::from_ref`]: https://doc.rust-lang.org/stable/std/slice/fn.from_ref.html
+[`intrinsics::copy`]: https://doc.rust-lang.org/stable/std/intrinsics/fn.copy.html
+[`intrinsics::copy_nonoverlapping`]: https://doc.rust-lang.org/stable/std/intrinsics/fn.copy_nonoverlapping.html
+[`<*const T>::copy_to`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to
+[`<*const T>::copy_to_nonoverlapping`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to_nonoverlapping
+[`<*mut T>::copy_to`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to-1
+[`<*mut T>::copy_to_nonoverlapping`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to_nonoverlapping-1
+[`<*mut T>::copy_from`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_from
+[`<*mut T>::copy_from_nonoverlapping`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_from_nonoverlapping
+[`str::from_utf8`]: https://doc.rust-lang.org/stable/std/str/fn.from_utf8.html
+[`Utf8Error::error_len`]: https://doc.rust-lang.org/stable/std/str/struct.Utf8Error.html#method.error_len
+[`Utf8Error::valid_up_to`]: https://doc.rust-lang.org/stable/std/str/struct.Utf8Error.html#method.valid_up_to
+[`Condvar::new`]: https://doc.rust-lang.org/stable/std/sync/struct.Condvar.html#method.new
+[`Mutex::new`]: https://doc.rust-lang.org/stable/std/sync/struct.Mutex.html#method.new
+[`RwLock::new`]: https://doc.rust-lang.org/stable/std/sync/struct.RwLock.html#method.new
+
 Version 1.62.1 (2022-07-19)
 ==========================