-
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 5 pull requests #128508
Rollup of 5 pull requests #128508
Commits on Jul 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for efdf219 - Browse repository at this point
Copy the full SHA efdf219View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a0cd61 - Browse repository at this point
Copy the full SHA 8a0cd61View commit details
Commits on Jul 31, 2024
-
Inline and remove
parse_local_mk
.It has a single use. This makes the `let` handling case in `parse_stmt_without_recovery` more similar to the statement path and statement expression cases.
Configuration menu - View commit details
-
Copy full SHA for 281c2fd - Browse repository at this point
Copy the full SHA 281c2fdView commit details -
`parse_expr_assoc_with` has an awkward structure -- sometimes the lhs is already parsed. This commit splits the post-lhs part into a new method `parse_expr_assoc_rest_with`, which makes everything shorter and simpler.
Configuration menu - View commit details
-
Copy full SHA for fe647f0 - Browse repository at this point
Copy the full SHA fe647f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 641ba86 - Browse repository at this point
Copy the full SHA 641ba86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5667ac - Browse repository at this point
Copy the full SHA e5667acView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd6c8cc - Browse repository at this point
Copy the full SHA cd6c8ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7581397 - Browse repository at this point
Copy the full SHA 7581397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f48a64 - Browse repository at this point
Copy the full SHA 6f48a64View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a5e07 - Browse repository at this point
Copy the full SHA b1a5e07View commit details
Commits on Aug 1, 2024
-
Streamline attribute stitching on AST nodes.
It can be done more concisely.
Configuration menu - View commit details
-
Copy full SHA for 2eb2ef1 - Browse repository at this point
Copy the full SHA 2eb2ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d77d17 - Browse repository at this point
Copy the full SHA 9d77d17View commit details -
Distinguish the two kinds of token range.
When collecting tokens there are two kinds of range: - a range relative to the parser's full token stream (which we get when we are parsing); - a range relative to a single AST node's token stream (which we use within `LazyAttrTokenStreamImpl` when replacing tokens). These are currently both represented with `Range<u32>` and it's easy to mix them up -- until now I hadn't properly understood the difference. This commit introduces `ParserRange` and `NodeRange` to distinguish them. This also requires splitting `ReplaceRange` in two, giving the new types `ParserReplacement` and `NodeReplacement`. (These latter two names reduce the overloading of the word "range".) The commit also rewrites some comments to be clearer. The end result is a little more verbose, but much clearer.
Configuration menu - View commit details
-
Copy full SHA for d1f05fd - Browse repository at this point
Copy the full SHA d1f05fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d312d7 - Browse repository at this point
Copy the full SHA 6d312d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52a49d9 - Browse repository at this point
Copy the full SHA 52a49d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73ac5e0 - Browse repository at this point
Copy the full SHA 73ac5e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f373ff3 - Browse repository at this point
Copy the full SHA f373ff3View commit details -
Delete issue-120720-reduce-nan.rs
This file tests for UB in `reduce_add`, but those are reimplemented by explicitly using the associativity specified by Intel
Configuration menu - View commit details
-
Copy full SHA for e3b9851 - Browse repository at this point
Copy the full SHA e3b9851View commit details -
Rollup merge of rust-lang#127276 - aDotInTheVoid:no-opaque, r=camelid
rustdoc: Remove OpaqueTy r? `@ghost` Apparently this works lol?!? try-job: aarch64-apple
Configuration menu - View commit details
-
Copy full SHA for 44ccae1 - Browse repository at this point
Copy the full SHA 44ccae1View commit details -
Rollup merge of rust-lang#128404 - compiler-errors:revert-dead-code-c…
…hanges, r=pnkfelix Revert recent changes to dead code analysis This is a revert to recent changes to dead code analysis, namely: * efdf219 Rollup merge of rust-lang#128104 - mu001999-contrib:fix/128053, r=petrochenkov * a70dc29 Rollup merge of rust-lang#127017 - mu001999-contrib:dead/enhance, r=pnkfelix * 31fe962 Rollup merge of rust-lang#127107 - mu001999-contrib:dead/enhance-2, r=pnkfelix * 2724aea Rollup merge of rust-lang#126618 - mu001999-contrib:dead/enhance, r=pnkfelix * 977c5fd Rollup merge of rust-lang#126315 - mu001999-contrib:fix/126289, r=petrochenkov * 13314df Rollup merge of rust-lang#125572 - mu001999-contrib:dead/enhance, r=pnkfelix There is an additional change stacked on top, which suppresses false-negatives that were masked by this work. I believe the functions that are touched in that code are legitimately unused functions and the types are not reachable since this `AnonPipe` type is not publically reachable -- please correct me if I'm wrong cc `@NobodyXu` who added these in #rust-lang#127153. Some of these reverts (rust-lang#126315 and rust-lang#126618) are only included because it makes the revert apply cleanly, and I think these changes were only done to fix follow-ups from the other PRs? I apologize for the size of the PR and the churn that it has on the codebase (and for reverting `@mu001999's` work here), but I'm putting this PR up because I am concerned that we're making ad-hoc changes to fix bugs that are fallout of these PRs, and I'd like to see these changes reimplemented in a way that's more separable from the existing dead code pass. I am happy to review any code to reapply these changes in a more separable way. cc `@mu001999` r? `@pnkfelix` Fixes rust-lang#128272 Fixes rust-lang#126169
Configuration menu - View commit details
-
Copy full SHA for bc9ccee - Browse repository at this point
Copy the full SHA bc9cceeView commit details -
Rollup merge of rust-lang#128466 - sayantn:stdarch-update, r=tgross35
Update the stdarch submodule cc `@tgross35` `@Amanieu` r? `@tgross35` try-job: x86_64-rust-for-linux
Configuration menu - View commit details
-
Copy full SHA for b1c7ae0 - Browse repository at this point
Copy the full SHA b1c7ae0View commit details -
Rollup merge of rust-lang#128483 - nnethercote:still-more-cfg-cleanup…
…s, r=petrochenkov Still more `cfg` cleanups Found while looking closely at `cfg`/`cfg_attr` processing code. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 7a7ca4e - Browse repository at this point
Copy the full SHA 7a7ca4eView commit details -
Rollup merge of rust-lang#128494 - RalfJung:mir-lazy-lists, r=compile…
…r-errors MIR required_consts, mentioned_items: ensure we do not forget to fill these lists Bodies initially get created with empty required_consts and mentioned_items, but at some point those should be filled. Make sure we notice when that is forgotten.
Configuration menu - View commit details
-
Copy full SHA for 8844e08 - Browse repository at this point
Copy the full SHA 8844e08View commit details