-
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 #120249
Rollup of 9 pull requests #120249
Commits on Jan 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4e973b0 - Browse repository at this point
Copy the full SHA 4e973b0View commit details
Commits on Jan 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b152de2 - Browse repository at this point
Copy the full SHA b152de2View commit details
Commits on Jan 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bdfc64a - Browse repository at this point
Copy the full SHA bdfc64aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d7e80c - Browse repository at this point
Copy the full SHA 6d7e80cView commit details -
aho-corasick 0.7.20 -> aho-corasick 1.0.2
Removing opener 0.5.2, and updating cargo_metadata 0.15.4 -> cargo_metadata 0.18.0 Reverting rustfmt change Reverting rustfmt patch Reverting dependency change for clippy
Configuration menu - View commit details
-
Copy full SHA for df3ec4c - Browse repository at this point
Copy the full SHA df3ec4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e3035b - Browse repository at this point
Copy the full SHA 0e3035bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56bc552 - Browse repository at this point
Copy the full SHA 56bc552View commit details -
Configuration menu - View commit details
-
Copy full SHA for b50b333 - Browse repository at this point
Copy the full SHA b50b333View commit details
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 41dcba8 - Browse repository at this point
Copy the full SHA 41dcba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f58af9b - Browse repository at this point
Copy the full SHA f58af9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac332bd - Browse repository at this point
Copy the full SHA ac332bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f75361f - Browse repository at this point
Copy the full SHA f75361fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e07699 - Browse repository at this point
Copy the full SHA 4e07699View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1829aa6 - Browse repository at this point
Copy the full SHA 1829aa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e5d135 - Browse repository at this point
Copy the full SHA 5e5d135View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21e5bea - Browse repository at this point
Copy the full SHA 21e5beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce11b70 - Browse repository at this point
Copy the full SHA ce11b70View commit details -
Rollup merge of rust-lang#119433 - taiki-e:rc-uninit-ref, r=Nilstrieb
rc,sync: Do not create references to uninitialized values Closes rust-lang#119241 r? `@RalfJung`
Configuration menu - View commit details
-
Copy full SHA for c6796b0 - Browse repository at this point
Copy the full SHA c6796b0View commit details -
Rollup merge of rust-lang#119460 - Zalathar:improper-region, r=wesley…
…wiser coverage: Never emit improperly-ordered coverage regions If we emit a coverage region that is improperly ordered (end < start), `llvm-cov` will fail with `coveragemap_error::malformed`, which is inconvenient for users and also very hard to debug. Ideally we would fix the root causes of these situations, but they tend to occur in very obscure edge-case scenarios (often involving nested macros), and we don't always have a good MCVE to work from. So it makes sense to also have a catch-all check that will prevent improperly-ordered regions from ever being emitted. --- This is mainly aimed at resolving rust-lang#119453. We don't have a specific way to reproduce it, which is why I haven't been able to add a test case in this PR. But based on the information provided in that issue, this change seems likely to avoid the error in `llvm-cov`. `@rustbot` label +A-code-coverage
Configuration menu - View commit details
-
Copy full SHA for c5f2c10 - Browse repository at this point
Copy the full SHA c5f2c10View commit details -
Rollup merge of rust-lang#119766 - oli-obk:split_tait_and_atpit, r=co…
…mpiler-errors Split tait and impl trait in assoc items logic And simplify the assoc item logic where applicable. This separation shows that it is easier to reason about impl trait in assoc items compared with TAITs. See https://rust-lang.zulipchat.com/#narrow/stream/315482-t-compiler.2Fetc.2Fopaque-types/topic/impl.20trait.20in.20associated.20type for some discussion. The current plan is to try to stabilize impl trait in associated items before TAIT, as they do not have any issues with their defining scopes (see rust-lang#107645 for why this is not a trivial or uncontroversial topic).
Configuration menu - View commit details
-
Copy full SHA for 4512fa4 - Browse repository at this point
Copy the full SHA 4512fa4View commit details -
Rollup merge of rust-lang#120160 - reitermarkus:nonzero-traits, r=dto…
…lnay Manually implement derived `NonZero` traits. Step 3 as mentioned in rust-lang#100428 (review). Manually implement the traits that would cause “borrow of layout constrained field with interior mutability” errors when switching to `NonZero<T>`. r? `@dtolnay`
Configuration menu - View commit details
-
Copy full SHA for c2db514 - Browse repository at this point
Copy the full SHA c2db514View commit details -
Rollup merge of rust-lang#120177 - michaelciraci:merge-deps-2, r=Nils…
…trieb Remove duplicate dependencies for rustc Removed several duplicates for rustc: rust-lang#75704 Several duplicates still exist, but an external library would have to be updated first. These are the duplicate dependencies still outstanding: ``` annotate-snippets v0.9.1 annotate-snippets v0.10.1 bitflags v1.3.2 bitflags v2.4.1 cargo_metadata v0.15.4 cargo_metadata v0.18.0 darling v0.14.4 darling v0.20.3 darling_core v0.14.4 darling_core v0.20.3 darling_macro v0.14.4 darling_macro v0.20.3 regex-automata v0.1.10 regex-automata v0.2.0 regex-automata v0.4.3 regex-syntax v0.6.29 regex-syntax v0.7.2 regex-syntax v0.8.2 self_cell v0.10.3 self_cell v1.0.2 syn v1.0.109 syn v2.0.32 toml v0.5.11 toml v0.7.5 ``` It should not be hard to consolidate these remaining duplicate dependencies, but it will take time as it would be pull requests for external crates. r? `@jyn514`
Configuration menu - View commit details
-
Copy full SHA for be7dc79 - Browse repository at this point
Copy the full SHA be7dc79View commit details -
Rollup merge of rust-lang#120183 - Zalathar:test-closure, r=compiler-…
…errors Add `#[coverage(off)]` to closures introduced by `#[test]` and `#[bench]` These closures are an internal implementation detail of the `#[test]` and `#[bench]` attribute macros, so from a user perspective there is no reason to instrument them for coverage. Skipping them makes coverage reports slightly cleaner, and will also allow other changes to span processing during coverage instrumentation, without having to worry about how they affect the `#[test]` macro. The `#[coverage(off)]` attribute has no effect when `-Cinstrument-coverage` is not used. Fixes rust-lang#120046. --- Note that this PR has no effect on the user-written function that has the `#[test]` attribute attached to it. That function will still be instrumented as normal.
Configuration menu - View commit details
-
Copy full SHA for f9fe759 - Browse repository at this point
Copy the full SHA f9fe759View commit details -
Rollup merge of rust-lang#120185 - Zalathar:auto-derived, r=wesleywiser
coverage: Don't instrument `#[automatically_derived]` functions This PR makes the coverage instrumentor detect and skip functions that have [`#[automatically_derived]`](https://doc.rust-lang.org/reference/attributes/derive.html#the-automatically_derived-attribute) on their enclosing impl block. Most notably, this means that methods generated by built-in derives (e.g. `Clone`, `Debug`, `PartialEq`) are now ignored by coverage instrumentation, and won't appear as executed or not-executed in coverage reports. This is a noticeable change in user-visible behaviour, but overall I think it's a net improvement. For example, we've had a few user requests for this sort of change (e.g. rust-lang#105055, rust-lang#84605 (comment)), and I believe it's the behaviour that most users will expect/prefer by default. It's possible to imagine situations where users would want to instrument these derived implementations, but I think it's OK to treat that as an opportunity to consider adding more fine-grained option flags to control the details of coverage instrumentation, while leaving this new behaviour as the default. (Also note that while `-Cinstrument-coverage` is a stable feature, the exact details of coverage instrumentation are allowed to change. So we *can* make this change; the main question is whether we *should*.) Fixes rust-lang#105055.
Configuration menu - View commit details
-
Copy full SHA for 5d2eae8 - Browse repository at this point
Copy the full SHA 5d2eae8View commit details -
Rollup merge of rust-lang#120201 - clubby789:dep-update, r=dtolnay
Bump some deps with syn 1.0 dependencies cc rust-lang#109302 `cargo update`ing `unic-langid` and `object` removes two dependencies on Syn 1.0.
Configuration menu - View commit details
-
Copy full SHA for c4ac1b2 - Browse repository at this point
Copy the full SHA c4ac1b2View commit details -
Rollup merge of rust-lang#120246 - estebank:revert_breathing_room, r=…
…estebank Re-add estebank to review rotation r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for f341954 - Browse repository at this point
Copy the full SHA f341954View commit details