about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-09-04Mirror the rustc-perf sourceMark Rousskov-2/+2
This avoids issues with the GitHub /archive/ links which can be somewhat unreliable and are currently causing CI issues.
2023-09-04Auto merge of #115513 - Urgau:normalize-msg-after-translate, r=petrochenkovbors-1/+23
Don't forget to normalize the translated message This PR adds a missing call to `normalize_whitespace` after translating an label. Fixes https://github.com/rust-lang/rust/issues/115498
2023-09-04Auto merge of #115493 - Ayush1325:raw-os-error, r=workingjubileebors-4/+3
Move RawOsError defination to sys This was originally a part of https://github.com/rust-lang/rust/pull/105861, but I feel it should be its own PR since the raw os error is still unstable.
2023-09-04Auto merge of #115391 - saethlin:depkind-discrim, r=nnethercotebors-1/+47
Encode DepKind as u16 The derived Encodable/Decodable impls serialize/deserialize as a varint, which results in a lot of code size around the encoding/decoding of these types which isn't justified: The full range of values here is rather small but doesn't quite fit in to a `u8`. Growing _all_ serialized `DepKind` to 2 bytes costs us on average 1% size in the incr comp dep graph, which I plan to recoup in https://github.com/rust-lang/rust/pull/110050 by taking advantage of the unused bits in all the serialized `DepKind`. r? `@nnethercote`
2023-09-03Auto merge of #115491 - Zoxc:refcell-tweak, r=Mark-Simulacrumbors-2/+24
Outline panicking code for `RefCell::borrow` and `RefCell::borrow_mut` This outlines panicking code for `RefCell::borrow` and `RefCell::borrow_mut` to reduce code size.
2023-09-03Encode DepKind as u16Ben Kimock-1/+47
2023-09-03Auto merge of #115518 - matthiaskrgr:rollup-vksprou, r=matthiaskrgrbors-30/+23
Rollup of 5 pull requests Successful merges: - #115279 (RangeFull: Remove parens around .. in documentation snippet) - #115318 (Reference uplifted clippy lints' rustc name in the release notes) - #115445 (remove some unused crate deps) - #115489 (Use std::io::Error::is_interrupted everywhere) - #115512 (Command::spawn: Fix STARTUPINFOW.cb being initialized with the address of size_of) r? `@ghost` `@rustbot` modify labels: rollup
2023-09-03Rollup merge of #115512 - Fulgen301:startupinfow, r=ChrisDentonMatthias Krüger-1/+1
Command::spawn: Fix STARTUPINFOW.cb being initialized with the address of size_of Fixes #115511.
2023-09-03Rollup merge of #115489 - saethlin:is-interrupted, r=thomccMatthias Krüger-17/+18
Use std::io::Error::is_interrupted everywhere In https://github.com/rust-lang/rust/pull/115228 I introduced this helper and started using it, this PR uses it to replace all applicable uses of `std::io::Error::kind`. The justification is the same; for whatever reason LLVM totally flops optimizing `Error::kind` so it's nice to use it less. FYI ``@mkroening`` I swear the hermit changes look good, but I was so sure about the previous PR.
2023-09-03Rollup merge of #115445 - klensy:less-deps, r=Mark-SimulacrumMatthias Krüger-8/+0
remove some unused crate deps
2023-09-03Rollup merge of #115318 - integer32llc:improve-release-notes, r=Mark-SimulacrumMatthias Krüger-3/+3
Reference uplifted clippy lints' rustc name in the release notes I updated to Rust 1.72.0, got a new warning from rustc, wanted to read more about it, so I went to RELEASES.md and searched for the new lint's name as shown in the warning I got. I found no results because the relevant entry in RELEASES only contained the lint's old Clippy name, not its new rustc name. This adds the rustc name for lints so that someone doing the same thing I did will have more success. Some of the uplifted lints didn't have a name change, so I didn't add the rustc name as a search for it will succeed.
2023-09-03Rollup merge of #115279 - schuelermine:patch/doc/RangeFull/remote-parens, ↵Matthias Krüger-1/+1
r=Mark-Simulacrum RangeFull: Remove parens around .. in documentation snippet I’ve removed unnecessary parentheses in a documentation snippet documenting `RangeFull`. It could’ve lead people to believe the parentheses were necessary.
2023-09-03Auto merge of #115270 - sebastiantoh:issue-105479, r=Nadrierilbors-41/+119
Add note on non-exhaustiveness when matching on str and nested non-exhaustive enums Fixes https://github.com/rust-lang/rust/issues/105479 r? `@Nadrieril`
2023-09-03Don't forget to normalize the translated messageUrgau-1/+23
2023-09-03Command::spawn: Fix STARTUPINFOW.cb being initialized with the address of ↵Fulgen301-1/+1
size_of
2023-09-03Auto merge of #115510 - GuillaumeGomez:rollup-wh719bn, r=GuillaumeGomezbors-17/+100
Rollup of 3 pull requests Successful merges: - #115478 (Emit unused doc comment warnings for pat and expr fields) - #115490 (rustdoc: update comment in search.js for #107629) - #115503 (Migrate GUI colors test to original CSS color format) r? `@ghost` `@rustbot` modify labels: rollup
2023-09-03Rollup merge of #115503 - GuillaumeGomez:migrate-gui-test-color-38, r=notriddleGuillaume Gomez-3/+15
Migrate GUI colors test to original CSS color format Follow-up of https://github.com/rust-lang/rust/pull/111459. r? `@notriddle`
2023-09-03Rollup merge of #115490 - pitaj:rustdoc-searchjs-comment, r=GuillaumeGomezGuillaume Gomez-8/+17
rustdoc: update comment in search.js for #107629 Addressing https://github.com/rust-lang/rust/pull/107629#issuecomment-1693460106 r? `@jsha`
2023-09-03Rollup merge of #115478 - gurry:115462-exprfield-no-warn, r=compiler-errorsGuillaume Gomez-6/+68
Emit unused doc comment warnings for pat and expr fields Fixes #115462
2023-09-03Use std::io::Error::is_interrupted everywhereBen Kimock-17/+18
2023-09-03Auto merge of #115448 - onur-ozkan:optimize-bootstrap-dep-tree, r=albertlarsan68bors-40/+8
optimize bootstrap dep tree bumped `pretty_assertations` in favor of removing duplicated `syn`, and bumped `hermit-abi` from the yanked version.
2023-09-03Improve clarity of diagnostic message on non-exhaustive matchesSebastian Toh-10/+10
2023-09-03Auto merge of #115361 - compiler-errors:param, r=cjgillotbors-129/+145
Don't manually compute param indices when adding implicit `Sized` and `ConstParamHasTy` We can just use resolve_bound_vars to compute these indices faithfully. This also makes the code easier to support where clauses on `non_lifetime_binders` (like `where for<T: Debug> ...`, etc, which I've got a [WIP implementation of](https://github.com/rust-lang/rust/compare/master...compiler-errors:rust:non-lifetime-binder-where-clauses)). r? `@cjgillot`
2023-09-03Migrate GUI colors test to original CSS color formatGuillaume Gomez-6/+6
2023-09-03Use named arguments in `code-color.goml` GUI testGuillaume Gomez-3/+15
2023-09-03Auto merge of #115496 - RalfJung:miri, r=RalfJungbors-18/+16
update Miri There were conflicts on the last pull, so make sure it's all in sync both ways r? `@ghost`
2023-09-03Auto merge of #115470 - ericmarkmartin:stable-prov, r=oli-obkbors-7/+28
add stable provenance r? `@spastorino` implements rust-lang/project-stable-mir#22
2023-09-03Auto merge of #3050 - RalfJung:rustup, r=RalfJungbors-3081/+3878
Rustup
2023-09-03Merge from rustcRalf Jung-3080/+3877
2023-09-03Preparing for merge from rustcRalf Jung-1/+1
2023-09-03Move RawOsError defination to sysAyush Singh-4/+3
Signed-off-by: Ayush Singh <ayushdevel1325@gmail.com>
2023-09-03Auto merge of #115472 - RalfJung:tier-2, r=GuillaumeGomezbors-5/+7
make it more clear what 'Tier 2' (without host tools) means When saying that Rust "builds official binary releases for each tier 2 target", it's not at all clear that this does not mean we build a compiler and cargo for that target.
2023-09-03Auto merge of #115441 - catandcoder:master, r=workingjubileebors-1/+1
fix the repetitive word
2023-09-03Outline panicking code for `RefCell::borrow` and `RefCell::borrow_mut`John Kåre Alsaker-2/+24
2023-09-03Fix code that now emits unused doc comment warning for expr fieldGurinder Singh-2/+2
2023-09-03Emit unused doc comment warnings for pat and expr fieldsGurinder Singh-4/+66
2023-09-03Auto merge of #115436 - GuillaumeGomez:fix-type-based-search, r=notriddlebors-135/+309
[rustdoc] Fix type based search Fixes https://github.com/rust-lang/rust/issues/114522. The problem was a bit more tricky than I originally thought it would be: we only kept type ID and generics in short, but as soon as there was a full path in the user query, the element didn't get an ID anymore because the ID map didn't know about `x::y` (although it knew about `y`). So for this first problem, I instead always pass the element name to get the ID. Then a new problem occurred: we actually needed to check if paths matched, otherwise whatever the path, as long as the "end types" match, it's all good. meaning, we needed to add path information, but to do so, we needed it to be added into the search index directly as there was no mapping between `"p"` and `"q"`. I hope this explanation makes sense to someone else than me. ^^' r? `@notriddle`
2023-09-02rustdoc: update comment in search.js for #107629Peter Jaszkowiak-8/+17
2023-09-02Add another renamed Clippy lint to release notesCarol (Nichols || Goulding)-1/+1
2023-09-03Auto merge of #115484 - GuillaumeGomez:migrate-gui-test-color-37, r=notriddlebors-9/+9
Migrate GUI colors test to original CSS color format Follow-up of https://github.com/rust-lang/rust/pull/111459. r? `@notriddle`
2023-09-02Correctly handle paths from foreign itemsGuillaume Gomez-11/+65
2023-09-02Auto merge of #115471 - RalfJung:skipping-sanity, r=onur-ozkanbors-10/+13
also skip musl checks when BOOTSTRAP_SKIP_TARGET_SANITY is set Currently I cannot test musl targets in Miri via x.py; this PR fixes that.
2023-09-02Migrate GUI colors test to original CSS color formatGuillaume Gomez-9/+9
2023-09-02Auto merge of #115273 - the8472:take-fold, r=cuviperbors-19/+97
Optimize Take::{fold, for_each} when wrapping TrustedRandomAccess iterators
2023-09-02restrict test to x86-64The 8472-0/+1
2023-09-02Auto merge of #115429 - compiler-errors:assoc-ct-lt-fallthrough, r=cjgillotbors-34/+88
Fall through when resolving elided assoc const lifetimes `@QuineDot` makes a good point in https://github.com/rust-lang/rust/issues/115010#issuecomment-1702127634 that we probably should not accept *more* code due to #115011 even though that code will eventually become a forbid-warning in a few versions (https://github.com/rust-lang/rust/issues/115010#issuecomment-1701598067). Fall through when walking thru the `AnonymousWarnToStatic` (renamed to `AnonymousWarn`) rib so that we can resolve as a fresh lifetime like we did before.
2023-09-02make it more clear what 'Tier 2' (without host tools) meansRalf Jung-5/+7
2023-09-02Auto merge of #115409 - RalfJung:llvm-merge-reland, r=lqdbors-19/+28
bootstrap: use git merge-base for LLVM CI download logic This re-lands https://github.com/rust-lang/rust/pull/113588, now that the perf issues are hopefully fixed by https://github.com/rust-lang/rustc-perf/pull/1684. r? `@lqd` `@Mark-Simulacrum` Fixes https://github.com/rust-lang/rust/issues/101907
2023-09-02also skip musl checks when BOOTSTRAP_SKIP_TARGET_SANITY is setRalf Jung-10/+13
2023-09-02Auto merge of #115469 - matthiaskrgr:rollup-25ybx39, r=matthiaskrgrbors-113/+335
Rollup of 7 pull requests Successful merges: - #114349 (rustc_llvm: Link to `zlib` on dragonfly and solaris) - #114845 (Add alignment to the NPO guarantee) - #115427 (kmc-solid: Fix `is_interrupted`) - #115443 (feat(std): Stabilize 'os_str_bytes' feature) - #115444 (Create a SMIR visitor) - #115449 (Const-stabilize `is_ascii`) - #115456 (Add spastorino on vacation) r? `@ghost` `@rustbot` modify labels: rollup