-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 7 pull requests #126473
Rollup of 7 pull requests #126473
Commits on Jun 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6d19ac3 - Browse repository at this point
Copy the full SHA 6d19ac3View commit details
Commits on Jun 7, 2024
-
add HermitOS support of vectored read/write operations
In general, the I/O interface of hermit-abi is more POSIX-like interface. Consequently, platform abstraction layer for HermitOS has slightly adjusted and some inaccuracies remove.
Configuration menu - View commit details
-
Copy full SHA for 1f125a6 - Browse repository at this point
Copy the full SHA 1f125a6View commit details
Commits on Jun 11, 2024
-
Unify guarantees about the default allocator
`std::alloc` said that the default allocator is unspecified for all crrate types except `cdylib` and `staticlib`. Adjust `std::alloc::System` documentation to say the same. Fixes rust-lang#125870.
Configuration menu - View commit details
-
Copy full SHA for bb8eb44 - Browse repository at this point
Copy the full SHA bb8eb44View commit details -
UniqueRc
: support allocators andT: ?Sized
.Added the following (all unstable): * Defaulted type pararameter `A: Allocator`. * `UniqueRc::new_in()`. * `T: ?Sized` where possible. * `impl CoerceUnsized for UniqueRc`. * Drive-by doc polish: links and periods at the end of sentences. These changes are motivated by supporting the implementation of unsized `Rc::make_mut()` (PR rust-lang#116113), but are also intended to be obvious generalizations of `UniqueRc` to support the things `Rc` does.
Configuration menu - View commit details
-
Copy full SHA for 27ecb71 - Browse repository at this point
Copy the full SHA 27ecb71View commit details
Commits on Jun 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5da1b41 - Browse repository at this point
Copy the full SHA 5da1b41View commit details
Commits on Jun 13, 2024
-
extend the check for LLVM build
We don't build LLVM when using the precompiled version from the CI builder. Signed-off-by: onur-ozkan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58e3ac0 - Browse repository at this point
Copy the full SHA 58e3ac0View commit details -
Rename proc_macro::Literal tests from parse.rs to literal.rs
This module contains tests not just of parse (FromStr) but also to_string (Display) for literals.
Configuration menu - View commit details
-
Copy full SHA for 57106e4 - Browse repository at this point
Copy the full SHA 57106e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cc0284 - Browse repository at this point
Copy the full SHA 2cc0284View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ddc89e - Browse repository at this point
Copy the full SHA 7ddc89eView commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a690710 - Browse repository at this point
Copy the full SHA a690710View commit details -
Rollup merge of rust-lang#123769 - dtolnay:literal, r=fee1-dead
Improve escaping of byte, byte str, and c str proc-macro literals This PR changes the behavior of `proc_macro::Literal::byte_character` (rust-lang#115268), `byte_string`, and `c_string` (rust-lang#119750) to improve their choice of escape sequences. 3 categories of changes are made: 1. Never use `\x00`. Always prefer `\0`, which is supported in all the same places. 2. Never escape `\'` inside double quotes and `\"` inside single quotes. 3. Never use `\x` for valid UTF-8 in literals that permit `\u`. The second commit adds tests covering these cases, asserting the **old** behavior. The third commit implements the behavior change and simultaneously updates the tests to assert the **new** behavior.
Configuration menu - View commit details
-
Copy full SHA for 20ca54b - Browse repository at this point
Copy the full SHA 20ca54bView commit details -
Rollup merge of rust-lang#126054 - veera-sivarajan:bugfix-113073-boun…
…d-on-generics-2, r=fee1-dead `E0229`: Suggest Moving Type Constraints to Type Parameter Declaration Fixes rust-lang#113073 This PR suggests `impl<T: Bound> Trait<T> for Foo` when finding `impl Trait<T: Bound> for Foo`. Tangentially, it also improves a handful of other error messages. It accomplishes this in two steps: 1. Check if constrained arguments and parameter names appear in the same order and delay emitting "incorrect number of generic arguments" error because it can be confusing for the programmer to see `0 generic arguments provided` when there are `n` constrained generic arguments. 2. Inside `E0229`, suggest declaring the type parameter right after the `impl` keyword by finding the relevant impl block's span for type parameter declaration. This also handles lifetime declarations correctly. Also, the multi part suggestion doesn't use the fluent error mechanism because translating all the errors to fluent style feels outside the scope of this PR. I will handle it in a separate PR if this gets approved.
Configuration menu - View commit details
-
Copy full SHA for bfe0323 - Browse repository at this point
Copy the full SHA bfe0323View commit details -
Rollup merge of rust-lang#126135 - hermit-os:fuse, r=jhpratt
add HermitOS support for vectored read/write operations In general, the I/O interface of hermit-abi is revised and now a more POSIX-like interface. Consequently, platform abstraction layer for HermitOS has slightly adjusted and some inaccuracies remove. Hermit is a tier 3 platform and this PR changes only files, wich are related to the tier 3 platform.
Configuration menu - View commit details
-
Copy full SHA for 6396d4c - Browse repository at this point
Copy the full SHA 6396d4cView commit details -
Rollup merge of rust-lang#126266 - tbu-:pr_doc_alloc_default_system, …
…r=jhpratt Unify guarantees about the default allocator `std::alloc` said that the default allocator is unspecified for all crrate types except `cdylib` and `staticlib`. Adjust `std::alloc::System` documentation to say the same. Fixes rust-lang#125870.
Configuration menu - View commit details
-
Copy full SHA for e923048 - Browse repository at this point
Copy the full SHA e923048View commit details -
Rollup merge of rust-lang#126285 - kpreid:unique-rc, r=dtolnay
`UniqueRc`: support allocators and `T: ?Sized`. Added the following (all unstable): * Defaulted type pararameter `A: Allocator`. * `UniqueRc::new_in()`. * `T: ?Sized` where possible. * `impl CoerceUnsized for UniqueRc`. These changes are motivated by supporting the implementation of unsized `Rc::make_mut()` (PR rust-lang#116113), but are also intended to be obvious generalizations of `UniqueRc` to support the things `Rc` does. r? ``````@the8472``````
Configuration menu - View commit details
-
Copy full SHA for b55cabe - Browse repository at this point
Copy the full SHA b55cabeView commit details -
Rollup merge of rust-lang#126399 - onur-ozkan:126156, r=albertlarsan68
extend the check for LLVM build We don't build LLVM when using the precompiled version from the CI builder. Closes rust-lang#126156
Configuration menu - View commit details
-
Copy full SHA for b7dcdf6 - Browse repository at this point
Copy the full SHA b7dcdf6View commit details -
Rollup merge of rust-lang#126426 - RalfJung:dangling-zst-ice, r=oli-obk
const validation: fix ICE on dangling ZST reference Fixes rust-lang#126393 I'm not super happy with this fix but I can't think of a better one. r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for aebd794 - Browse repository at this point
Copy the full SHA aebd794View commit details