-
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 9 pull requests #120660
Rollup of 9 pull requests #120660
Commits on Dec 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ac4515 - Browse repository at this point
Copy the full SHA 7ac4515View commit details
Commits on Jan 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 16e117c - Browse repository at this point
Copy the full SHA 16e117cView commit details
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e15f40e - Browse repository at this point
Copy the full SHA e15f40eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56f54c8 - Browse repository at this point
Copy the full SHA 56f54c8View commit details
Commits on Jan 25, 2024
-
The `CString` handling code is erroneously identical to the `ByteString` handling code.
Configuration menu - View commit details
-
Copy full SHA for 85d56ee - Browse repository at this point
Copy the full SHA 85d56eeView commit details -
- Rename it as `MixedUnit`, because it will soon be used in more than just C string literals. - Change the `Byte` variant to `HighByte` and use it only for `\x80`..`\xff` cases. This fixes the old inexactness where ASCII chars could be encoded with either `Byte` or `Char`. - Add useful comments. - Remove `is_ascii`, in favour of `u8::is_ascii`.
Configuration menu - View commit details
-
Copy full SHA for 5651407 - Browse repository at this point
Copy the full SHA 5651407View commit details -
Rename the unescaping functions.
`unescape_literal` becomes `unescape_unicode`, and `unescape_c_string` becomes `unescape_mixed`. Because rfc3349 will mean that C string literals will no longer be the only mixed utf8 literals.
Configuration menu - View commit details
-
Copy full SHA for 858f4ac - Browse repository at this point
Copy the full SHA 858f4acView commit details
Commits on Jan 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96ebad0 - Browse repository at this point
Copy the full SHA 96ebad0View commit details
Commits on Jan 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da798bc - Browse repository at this point
Copy the full SHA da798bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57934ac - Browse repository at this point
Copy the full SHA 57934acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d57b9 - Browse repository at this point
Copy the full SHA 51d57b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ec32d0 - Browse repository at this point
Copy the full SHA 7ec32d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b22e772 - Browse repository at this point
Copy the full SHA b22e772View commit details
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8fab92f - Browse repository at this point
Copy the full SHA 8fab92fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81d713e - Browse repository at this point
Copy the full SHA 81d713eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8a18f3 - Browse repository at this point
Copy the full SHA a8a18f3View commit details -
merge imports assist always applies to covering use item except for n…
…ested use tree selections
Configuration menu - View commit details
-
Copy full SHA for b241593 - Browse repository at this point
Copy the full SHA b241593View commit details -
merge imports assist avoids adding unnecessary braces when merging ne…
…sted use tree selections
Configuration menu - View commit details
-
Copy full SHA for fc00602 - Browse repository at this point
Copy the full SHA fc00602View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84e1314 - Browse repository at this point
Copy the full SHA 84e1314View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f303f4 - Browse repository at this point
Copy the full SHA 6f303f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bd21e9 - Browse repository at this point
Copy the full SHA 1bd21e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f43cea0 - Browse repository at this point
Copy the full SHA f43cea0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aec11a - Browse repository at this point
Copy the full SHA 6aec11aView commit details
Commits on Jan 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6181102 - Browse repository at this point
Copy the full SHA 6181102View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b71aca - Browse repository at this point
Copy the full SHA 2b71acaView commit details -
Auto merge of rust-lang#15730 - Alainx277:let-else-postfix, r=Veykril
Add postfix completion for let else Adds a postfix completion for let else syntax, similar to the if let postfix.
Configuration menu - View commit details
-
Copy full SHA for d13951f - Browse repository at this point
Copy the full SHA d13951fView commit details
Commits on Jan 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 20c0167 - Browse repository at this point
Copy the full SHA 20c0167View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5860763 - Browse repository at this point
Copy the full SHA 5860763View commit details -
Auto merge of rust-lang#16439 - wasd96040501:feat/gotodef3, r=Veykril
feat: Support for GOTO def from *inside* files included with include! macro close rust-lang#14937 Try to implement goto def from *inside* files included with include! macro. This implementation has two limitations: 1. Only **one** file which calls include! will be tracked. (I think multiple file be included is a rare case and we may let it go for now) 2. Mapping token from included file to macro call file (semantics.rs:646~658) works fine but I am not sure is this the correct way to implement.
Configuration menu - View commit details
-
Copy full SHA for 22b6f96 - Browse repository at this point
Copy the full SHA 22b6f96View commit details -
Auto merge of rust-lang#16447 - Veykril:mir-errors, r=Veykril
intenral: Cleanup error variants in MIR code a bit
Configuration menu - View commit details
-
Copy full SHA for 11b401d - Browse repository at this point
Copy the full SHA 11b401dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4facb62 - Browse repository at this point
Copy the full SHA 4facb62View commit details -
Configuration menu - View commit details
-
Copy full SHA for dba3fc4 - Browse repository at this point
Copy the full SHA dba3fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for db9fd37 - Browse repository at this point
Copy the full SHA db9fd37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75a42f1 - Browse repository at this point
Copy the full SHA 75a42f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73c7c72 - Browse repository at this point
Copy the full SHA 73c7c72View commit details -
CI: Don't deny clippy warnings
We configure that in the lint table in `Cargo.toml`.
Configuration menu - View commit details
-
Copy full SHA for 628f701 - Browse repository at this point
Copy the full SHA 628f701View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43b1ae0 - Browse repository at this point
Copy the full SHA 43b1ae0View commit details -
Auto merge of rust-lang#16413 - Urhengulas:clippy-ci, r=Veykril
internal: Add `clippy` to CI Follow-up to rust-lang#16401
Configuration menu - View commit details
-
Copy full SHA for da4d5f8 - Browse repository at this point
Copy the full SHA da4d5f8View commit details -
Auto merge of rust-lang#16417 - davidsemakula:normalize-use-trees, r=…
…Veykril feat: "Normalize import" assist and utilities for normalizing use trees - Add import/use tree normalization utilities - Add "normalize import" assist - Update "merge imports" assist to always apply to the covering use item except for nested use tree selections - Update "merge imports" assist to avoid adding unnecessary braces when merging nested use tree selections See [this discussion](rust-lang/rust-analyzer#16372 (comment)) for the motivation for the new "normalize import" assist and changes to the "merge imports" assist.
Configuration menu - View commit details
-
Copy full SHA for 63123ab - Browse repository at this point
Copy the full SHA 63123abView commit details -
internal: switch to
tracing
fromlog
This commit also adds `tracing` to NotificationDispatcher/RequestDispatcher, bumps `rust-analyzer-salsa` to 0.17.0-pre.6, `always-assert` to 0.2, and removes the homegrown `hprof` implementation in favor of a vendored tracing-span-tree.
Configuration menu - View commit details
-
Copy full SHA for e1ea7c8 - Browse repository at this point
Copy the full SHA e1ea7c8View commit details -
Auto merge of rust-lang#16394 - davidbarsky:david/add-more-tracing-sp…
…ans, r=Veykril internal: add some `tracing` to {Request, Notification}Dispatch Some of the tracing config would need to be changed in order to benefit more from this (especially `.with_span_events(FmtSpan::CLOSE)`), which provides span events like the following: ``` 2024-01-18T02:41:06.675779Z INFO request{method="textDocument/codeLens" request_id=RequestId(I32(17))}: rust_analyzer::dispatch: close time.busy=61.8µs time.idle=5.29µs ``` I dunno if y'all need `LoggerFormatter` in here, but if you don't, I'd be happy to yeet it out of rust-analyzer. In any case, this provided a pretty decent amount of information in the logs, and I can expand this as needed or we can land this PR and expand later.
Configuration menu - View commit details
-
Copy full SHA for d923d62 - Browse repository at this point
Copy the full SHA d923d62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17d2e8d - Browse repository at this point
Copy the full SHA 17d2e8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f1a253 - Browse repository at this point
Copy the full SHA 8f1a253View commit details -
Auto merge of rust-lang#16453 - Veykril:brackets, r=Veykril
internal: Undo special bracket classification for attributes in vscode config I changed this thinking the `#` could be considered part of the bracket but on second though I don't think that's quite right in general. Fixes rust-lang/rust-analyzer#16449
Configuration menu - View commit details
-
Copy full SHA for 9a832c4 - Browse repository at this point
Copy the full SHA 9a832c4View commit details
Commits on Jan 31, 2024
-
Auto merge of rust-lang#16441 - Young-Flash:exclude_tests_refs, r=Vey…
…kril feat: enable excluding refs search results in test ## Change Here I introduce a new `ReferenceCategory::Test` type to indicate whether the function where this reference is located is marked as `#[test]`, and expose an config item (`rust-analyzer.references.excludeTests`) to client. I also changed the signature of `ReferenceCategory::new`, adding a `sema: &Semantics<'_, RootDatabase>` param to do some hir analysis. Hope the current implementation is good to go. ## Demo `"rust-analyzer.references.excludeTests": false` ![include](https://github.com/rust-lang/rust-analyzer/assets/71162630/9f1176d4-7b41-4f49-ac79-55d25a42d5d1) `"rust-analyzer.references.excludeTests": true` ![exclude](https://github.com/rust-lang/rust-analyzer/assets/71162630/2938b44b-9e5b-48de-a049-453f5bbc09d0) close rust-lang/rust-analyzer#14530
Configuration menu - View commit details
-
Copy full SHA for e4146af - Browse repository at this point
Copy the full SHA e4146afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 604479c - Browse repository at this point
Copy the full SHA 604479cView commit details -
Auto merge of rust-lang#16459 - Veykril:diagnostics, r=Veykril
internal: Use improved adjusted_display_range for all diagnostics
Configuration menu - View commit details
-
Copy full SHA for e48bc04 - Browse repository at this point
Copy the full SHA e48bc04View commit details -
Configuration menu - View commit details
-
Copy full SHA for d252247 - Browse repository at this point
Copy the full SHA d252247View commit details -
Auto merge of rust-lang#16461 - Veykril:expansion-info, r=Veykril
internal: Remove unnecessary usages of ExpansionInfo And some follow up simplifications to rust-lang/rust-analyzer#16439
Configuration menu - View commit details
-
Copy full SHA for 2661c27 - Browse repository at this point
Copy the full SHA 2661c27View commit details -
Auto merge of rust-lang#16445 - lnicola:bump-scip, r=lnicola
internal: Bump scip Fixes rust-lang#16440
Configuration menu - View commit details
-
Copy full SHA for 9d837a6 - Browse repository at this point
Copy the full SHA 9d837a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62ff8f3 - Browse repository at this point
Copy the full SHA 62ff8f3View commit details -
Auto merge of rust-lang#16448 - Young-Flash:typos, r=lnicola
minor: correct typos I use [crate-ci/typos](https://github.com/crate-ci/typos) to check typos in codebase, if it's ok with you, I'd like to add a typo check CI using [typos](https://github.com/crate-ci/typos) (with Apache-2.0, MIT licenses). BTW, we can add a [_typos.toml](https://github.com/crate-ci/typos/blob/master/docs/reference.md) as white list for some intentional typos
Configuration menu - View commit details
-
Copy full SHA for 355c944 - Browse repository at this point
Copy the full SHA 355c944View commit details -
Configuration menu - View commit details
-
Copy full SHA for 251b14f - Browse repository at this point
Copy the full SHA 251b14fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 579e98c - Browse repository at this point
Copy the full SHA 579e98cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 386d438 - Browse repository at this point
Copy the full SHA 386d438View commit details -
Configuration menu - View commit details
-
Copy full SHA for daa2072 - Browse repository at this point
Copy the full SHA daa2072View commit details -
Configuration menu - View commit details
-
Copy full SHA for de6f956 - Browse repository at this point
Copy the full SHA de6f956View commit details -
Configuration menu - View commit details
-
Copy full SHA for f15ee8a - Browse repository at this point
Copy the full SHA f15ee8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4302ea - Browse repository at this point
Copy the full SHA c4302eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f191b80 - Browse repository at this point
Copy the full SHA f191b80View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d0dea - Browse repository at this point
Copy the full SHA e7d0deaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b73ee2f - Browse repository at this point
Copy the full SHA b73ee2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b176cf2 - Browse repository at this point
Copy the full SHA b176cf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0adb4d1 - Browse repository at this point
Copy the full SHA 0adb4d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c468834 - Browse repository at this point
Copy the full SHA c468834View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd9f27b - Browse repository at this point
Copy the full SHA dd9f27bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04ccef8 - Browse repository at this point
Copy the full SHA 04ccef8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7e09e7 - Browse repository at this point
Copy the full SHA e7e09e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d37f4e0 - Browse repository at this point
Copy the full SHA d37f4e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 771c6c9 - Browse repository at this point
Copy the full SHA 771c6c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for df2c7a6 - Browse repository at this point
Copy the full SHA df2c7a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44494e2 - Browse repository at this point
Copy the full SHA 44494e2View commit details -
Auto merge of rust-lang#16456 - davidbarsky:david/tracing-followups, …
…r=Veykril internal: `tracing` improvements and followups Hi folks! Building on rust-lang/rust-analyzer#16394, I've got a few small tweaks: - Removed the accidental `mod.rs` usage that I introduced. - Removed a panic in `pat_analysis.rs`. - Recorded the event kind in `handle_event` to better distinguish what _kind_ of event is being handled. - Did a small refactor of `hprof` to have somewhat more linear control flow, and more importantly, write the recorded fields to the output. The end result is the following: <img width="1530" alt="A screenshot of Visual Studio Code on a Mac. `hprof.rs` is open, with " src="https://github.com/rust-lang/rust-analyzer/assets/2067774/bd11dde5-b2da-4774-bc38-bcb4772d1192">
Configuration menu - View commit details
-
Copy full SHA for 0396811 - Browse repository at this point
Copy the full SHA 0396811View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1fdb87 - Browse repository at this point
Copy the full SHA a1fdb87View commit details -
Auto merge of rust-lang#16463 - clubby789:remove-abi_amdgpu_kernel, r…
…=lnicola internal: Remove `abi_amdgpu_kernel` references This feature was removed in rust-lang#120495
Configuration menu - View commit details
-
Copy full SHA for 1ab1a25 - Browse repository at this point
Copy the full SHA 1ab1a25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f4b7f - Browse repository at this point
Copy the full SHA 23f4b7fView commit details -
Auto merge of rust-lang#16465 - Veykril:eprintln, r=Veykril
minor: Remove `stdx::eprintln` overwrite
Configuration menu - View commit details
-
Copy full SHA for 42cb1a2 - Browse repository at this point
Copy the full SHA 42cb1a2View commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 671c776 - Browse repository at this point
Copy the full SHA 671c776View commit details -
Auto merge of rust-lang#16468 - ThomasFrans:docs-update-plugin-url, r…
…=lnicola minor: Recommend maintained Neovim plugin in documentation
Configuration menu - View commit details
-
Copy full SHA for 3afa6b1 - Browse repository at this point
Copy the full SHA 3afa6b1View commit details -
Auto merge of rust-lang#16416 - Young-Flash:cargo_ext_detect, r=lnicola
internal: VS Code: report conflict with `panicbit.cargo` <img width="359" alt="notification" src="https://github.com/rust-lang/rust-analyzer/assets/71162630/420b9f34-ba73-4436-b868-6cd87c62287d"> related to rust-lang/rust-analyzer#16392
Configuration menu - View commit details
-
Copy full SHA for 135a8d9 - Browse repository at this point
Copy the full SHA 135a8d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36cb518 - Browse repository at this point
Copy the full SHA 36cb518View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0be296 - Browse repository at this point
Copy the full SHA b0be296View commit details -
Auto merge of rust-lang#16451 - Urhengulas:satisfy-clippy, r=Veykril
internal: Work through temporarily allowed clippy lints, part 2 Another follow-up to rust-lang/rust-analyzer#16401.
Configuration menu - View commit details
-
Copy full SHA for 850ba2f - Browse repository at this point
Copy the full SHA 850ba2fView commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ee87033 - Browse repository at this point
Copy the full SHA ee87033View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ba31cc - Browse repository at this point
Copy the full SHA 8ba31ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f09335 - Browse repository at this point
Copy the full SHA 4f09335View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef07b05 - Browse repository at this point
Copy the full SHA ef07b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0b887 - Browse repository at this point
Copy the full SHA 7a0b887View commit details -
Auto merge of rust-lang#16476 - lnicola:sync-from-rust, r=lnicola
internal: sync from downstream
Configuration menu - View commit details
-
Copy full SHA for 980d348 - Browse repository at this point
Copy the full SHA 980d348View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba2910a - Browse repository at this point
Copy the full SHA ba2910aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d6141 - Browse repository at this point
Copy the full SHA 70d6141View commit details -
Configuration menu - View commit details
-
Copy full SHA for a52a4d9 - Browse repository at this point
Copy the full SHA a52a4d9View commit details -
Auto merge of rust-lang#16469 - Young-Flash:ci_typos, r=lnicola
internal: add typos check CI (part 2) follow up rust-lang/rust-analyzer#16448
Configuration menu - View commit details
-
Copy full SHA for 8f6a728 - Browse repository at this point
Copy the full SHA 8f6a728View commit details -
miri: normalize struct tail in ABI compat check
Lukas Markeffsky committedFeb 2, 2024 Configuration menu - View commit details
-
Copy full SHA for 30e7b87 - Browse repository at this point
Copy the full SHA 30e7b87View commit details
Commits on Feb 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a27e45a - Browse repository at this point
Copy the full SHA a27e45aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c694db - Browse repository at this point
Copy the full SHA 4c694dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a605b96 - Browse repository at this point
Copy the full SHA a605b96View commit details -
Auto merge of rust-lang#16479 - lnicola:macos-12, r=lnicola
internal: Bump release runners to MacOS 12
Configuration menu - View commit details
-
Copy full SHA for 0113bc9 - Browse repository at this point
Copy the full SHA 0113bc9View commit details
Commits on Feb 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 468f400 - Browse repository at this point
Copy the full SHA 468f400View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98ad126 - Browse repository at this point
Copy the full SHA 98ad126View commit details -
rustdoc: trait.impl, type.impl: sort impls to make it not depend on s…
…erialization order
Configuration menu - View commit details
-
Copy full SHA for cb4e69a - Browse repository at this point
Copy the full SHA cb4e69aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe420dc - Browse repository at this point
Copy the full SHA fe420dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dd2b37 - Browse repository at this point
Copy the full SHA 8dd2b37View commit details -
coverage: Make unexpansion of closure bodies more precise
This improves the coverage instrumentation of closures declared in macros, as seen in `closure_macro.rs` and `closure_macro_async.rs`.
Configuration menu - View commit details
-
Copy full SHA for dd6d7f2 - Browse repository at this point
Copy the full SHA dd6d7f2View commit details -
coverage: Hoist special handling of async function spans
This sidesteps the normal span refinement code in cases where we know that we are only dealing with the special signature span that represents having called an async function.
Configuration menu - View commit details
-
Copy full SHA for fde1702 - Browse repository at this point
Copy the full SHA fde1702View commit details -
Configuration menu - View commit details
-
Copy full SHA for a246b6b - Browse repository at this point
Copy the full SHA a246b6bView commit details
Commits on Feb 5, 2024
-
Rollup merge of rust-lang#119481 - romanows:fix-doc-select-nth-unstab…
…le, r=Mark-Simulacrum Clarify ambiguity in select_nth_unstable docs Original docs for `select_nth_unstable` family of functions were ambiguous as to whether "the element at `index`" was the element at `index` before the function reordered the elements or after the function reordered the elements. The most helpful change in this PR is to change the given examples to make this absolutely clear. Before, "the element at `index`" was the same value before and after the reordering, so it didn't help disambiguate the meaning. I've changed the example for `select_nth_unstable` and `select_nth_unstable_by` so that "the element at `index`" is different before and after the reordering, which clears up the ambiguity. The function `select_nth_unstable_by_key` already had an example that was unambiguous. In an attempt to clear up the ambiguity from the get-go, I've added a bit of redundancy to the text. Now the docs refer to "the element at `index` *after the reordering*".
Configuration menu - View commit details
-
Copy full SHA for 7158b3d - Browse repository at this point
Copy the full SHA 7158b3dView commit details -
Rollup merge of rust-lang#119600 - aDotInTheVoid:comment-fix, r=compi…
…ler-errors Remove outdated references to librustc_middle The relevant comment is now in https://github.com/rust-lang/rust/blob/791a53f380d5cf800191f25941c94ace5099876e/compiler/rustc_middle/src/tests.rs#L3-L13
Configuration menu - View commit details
-
Copy full SHA for ca36ed2 - Browse repository at this point
Copy the full SHA ca36ed2View commit details -
Rollup merge of rust-lang#120458 - rytheo:cstr-conversion-doc, r=Mark…
…-Simulacrum Document `&CStr` to `CString` conversion Related to rust-lang#51430
Configuration menu - View commit details
-
Copy full SHA for 9838e94 - Browse repository at this point
Copy the full SHA 9838e94View commit details -
Rollup merge of rust-lang#120569 - Zalathar:fn-sig, r=oli-obk
coverage: Improve handling of function/closure spans This is a combination of some loosely-related changes that touch the same code: 1. Make unexpansion of closure bodies more precise, by unexpanding back to the context of the closure declaration, instead of unexpanding all the way back to the top-level context. This preserves the way we handle async desugaring and closures containing a single bang-macro, while also giving better results for closures defined in macros. 2. Skip the normal span-refinement code when dealing with the trivial outer part of an async function. 3. Be more explicit about the fact that `fn_sig_span` has been extended to the start of the function body, and is not necessarily present. --- `@rustbot` label +A-code-coverage
Configuration menu - View commit details
-
Copy full SHA for 7294c15 - Browse repository at this point
Copy the full SHA 7294c15View commit details -
Rollup merge of rust-lang#120572 - pheki:update-libc, r=Mark-Simulacrum
Update libc to 0.2.153 Bumps libc dependency to 0.2.153, which includes this fix, required for building std for the vita: rust-lang/libc#3552
Configuration menu - View commit details
-
Copy full SHA for 16200db - Browse repository at this point
Copy the full SHA 16200dbView commit details -
Rollup merge of rust-lang#120587 - lukas-code:miri-tail-normalize, r=…
…RalfJung miri: normalize struct tail in ABI compat check fixes rust-lang/miri#3282 extracted from rust-lang#120354, see rust-lang#120354 (comment) for context r? ```@RalfJung```
Configuration menu - View commit details
-
Copy full SHA for e348f07 - Browse repository at this point
Copy the full SHA e348f07View commit details -
Rollup merge of rust-lang#120607 - conradludgate:fix-120603, r=dtolnay
fix rust-lang#120603 by adding a check in default_read_buf Fixes rust-lang#120603 by checking the returned read n is in-bounds of the cursor. Interestingly, I noticed that `BorrowedBuf` side-steps this issue by using checked accesses. Maybe this can be switched to unchecked to mirror what BufReader does https://github.com/rust-lang/rust/blob/bf3c6c5bed498f41ad815641319a1ad9bcecb8e8/library/core/src/io/borrowed_buf.rs#L95
Configuration menu - View commit details
-
Copy full SHA for d8e9ddc - Browse repository at this point
Copy the full SHA d8e9ddcView commit details -
Rollup merge of rust-lang#120636 - lnicola:sync-from-ra, r=lnicola
Subtree update of `rust-analyzer` r? ghost
Configuration menu - View commit details
-
Copy full SHA for bc98f57 - Browse repository at this point
Copy the full SHA bc98f57View commit details -
Rollup merge of rust-lang#120641 - klensy:copypaste-me, r=notriddle
rustdoc: trait.impl, type.impl: sort impls to make it not depend on serialization order Can be tested by running `cargo doc` with different rust versions on some crate and comparing `doc` folders: files in `trait.impl` and `type.impl` will sometimes have different order of impls.
Configuration menu - View commit details
-
Copy full SHA for a2d3eed - Browse repository at this point
Copy the full SHA a2d3eedView commit details