Automatic Rustup - #5307
Merged
Merged
Conversation
Add LLM guidance, based on the new rl/r policy
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@969b803 Filtered ref: rust-lang/rustc-dev-guide@ed111c2 Upstream diff: rust-lang/rust@da86f4d...969b803 This merge was created using https://github.com/rust-lang/josh-sync.
Rustc pull update
derive(Diagnostic): #[note] etc also work on bool fields
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@e64c8a6 Filtered ref: rust-lang/rustc-dev-guide@dc890ce Upstream diff: rust-lang/rust@969b803...e64c8a6 This merge was created using https://github.com/rust-lang/josh-sync.
Rustc pull update
fix attribute links
Add `feedable` query modifier
Give better examples of how to run `x`
…docs Add documentation for some `rustc_type_ir` macros
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@2c39ff4 Filtered ref: rust-lang/rustc-dev-guide@52b5831 Upstream diff: rust-lang/rust@e64c8a6...2c39ff4 This merge was created using https://github.com/rust-lang/josh-sync.
Rustc pull update
Document debuginfo `repr` directive
…-2473 docs: Clarify Neovim workspace path setup
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@da51146 Filtered ref: rust-lang/rustc-dev-guide@d9692a1 Upstream diff: rust-lang/rust@2c39ff4...da51146 This merge was created using https://github.com/rust-lang/josh-sync.
Rustc pull update
fix "all x does is call ./x"
touch-ups to "query system" chapter
Add a central index of dev-guide reading club discussions
sanitizers: Implement support for the sanitize ignorelist The sanitize ignorelist gives central controls over which functions, files, etc. should be ignored and not sanitized. It is a common file format for clang and explained here: https://clang.llvm.org/docs/SanitizerSpecialCaseList.html. This change adds support for this list in Rust as well. r? @rcvalle
c-variadic: use `emit_ptr_va_arg` for `va_arg` on `sparc` I've built GCC for the target and validated pretty extensively that this works. Using our helper does generate worse code for `i64` unfortunately, I've reported that as llvm/llvm-project#214594. But, given that this is a tier-3 target etc. I don't think it makes sense to go out of our way to do better, we can just wait for LLVM to resolve that issue.
make -Ctarget-feature warnings more explicitly FCWs In rust-lang/compiler-team#994 we agreed that > We also change the warning emitted for unknown features in -Ctarget-feature to be explicitly a future-compat warning, and eventually we make unknown features in -Ctarget-feature a hard error. This PR implements that. I also created a new tracking issue specifically for this FCW as the old one has all sorts of discussion about us even figuring out the problem in the first place: rust-lang/rust#162235.
…001999 Generalize Decodable impl for arrays to all types This is almost the only impl that is not symetric with its Encodable counterpart. I tried to find out why in the history but it looks like this impl predates most of the generic symetric ones that are in this file, so it looks like it's not intentional. I bumped into this randomly by changing a Vec to an array in some Mir types. The error was pretty confusing and It took me a while to figure out so I think it's worth generalizing this for somebody else in the future, even though it's technically not necessary at the moment. ~~We piggyback off of `SmallVec` impl to avoid adding a `Default` bound or `MaybeUninit` unsafe dance. This moves the assert from the begining to the end of the loop.~~ We use `array::from_fn`
Update internal docs & tests to use `!` rather than `Infallible` in relation to `Try`
- Update docs, internal comments and tests to use `!` rather than `Infallible` in `Try` situations.
- Add a custom `enum Uninhabited {}` to specific clippy tests where unintentional future divergence in handling `!` vs other uninhabited types may be a possible concern
Refs:
- Never is ~~meow~~ now rust-lang/rust#155499
- Try: rust-lang/rust#84277 & rust-lang/goals#654
Clean up the AST visitor The AST visitor is macro-heavy and complicated. This PR simplifies some aspects of it. Details in individual commits. r? @fee1-dead
rustc-dev-guide subtree update Subtree update of `rustc-dev-guide` to rust-lang/rustc-dev-guide@a6da162. Created using https://github.com/rust-lang/josh-sync. r? @ghost
…uwer Rollup of 7 pull requests Successful merges: - rust-lang/rust#157808 (sanitizers: Implement support for the sanitize ignorelist) - rust-lang/rust#160660 (c-variadic: use `emit_ptr_va_arg` for `va_arg` on `sparc`) - rust-lang/rust#162237 (make -Ctarget-feature warnings more explicitly FCWs) - rust-lang/rust#160111 (Generalize Decodable impl for arrays to all types) - rust-lang/rust#162174 (Update internal docs & tests to use `!` rather than `Infallible` in relation to `Try`) - rust-lang/rust#162226 (Clean up the AST visitor) - rust-lang/rust#162281 (rustc-dev-guide subtree update)
always rerun if we normalize local opaques Fixes rust-lang/rust#135062 The problem is that we rerun goals too late such that we compute auto trait for wrongly-marked-as-rigid opaques. We call `type_of` on those opaques which would trigger query cycle if we're already in typeck/borrowck of the same opaques. It's fixed by eagerly rerun if we ever normalize a local opaque. To be more consersative, we could also rerun if we normalize remote opaque. But that causes regression for `wg-grammar`. Since we wouldn't be in typeck/borrowck if we're in post analysis mode, we don't have the query cycle problem. We **might** get away with not rerunning there. `OpaqueInStorage` removal doesn't affect behavior and can be done in a followup. r? @lcnr
This updates the rust-version file to 0ed41eb4142dda2df61eb1145a312c1a9d62eb56.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@0ed41eb Filtered ref: 1f6e2b2 Upstream diff: rust-lang/rust@a69a632...0ed41eb This merge was created using https://github.com/rust-lang/josh-sync.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Merge ref '0ed41eb4142d' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.
Upstream ref: rust-lang/rust@0ed41eb
Filtered ref: 1f6e2b2
Upstream diff: rust-lang/rust@a69a632...0ed41eb
This merge was created using https://github.com/rust-lang/josh-sync.