about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-04-16Auto merge of #110413 - pietroalbini:pa-1.69.0-stable, r=pietroalbini 1.69.0bors-200/+365
[stable] Prepare Rust 1.69.0 Last minute backports: * #109643 * #110135 * #109938 * #109937 * #109266 This PR also bumps the channel to stable, and backports the release notes from master. r? `@ghost` cc `@rust-lang/release`
2023-04-16backport release notesPietro Albini-2/+227
2023-04-16bump to stablePietro Albini-1/+1
2023-04-16rustdoc: Correctly merge import's and its target's docs in one more caseVadim Petrochenkov-6/+24
2023-04-16Don't collect return-position impl traits for documentationMichael Goulet-1/+24
2023-04-16Move a const-prop-lint specific hack from mir interpret to const-prop-lint ↵Oli Scherer-12/+64
and make it fallible
2023-04-16Revert "Don't recover lifetimes/labels containing emojis as character literals"Michael Goulet-178/+17
Reverts PR #108031 Fixes (doesnt close until beta backported) #109746 This reverts commit e3f9db5fc319c6d8eee5d47d216ea6a426070c41. This reverts commit 98b82aedba3f3f581e89df54352914b27f42c6f7. This reverts commit 380fa264132ad481e73cbbf0f3a0feefd99a1d78.
2023-04-16Limit to one job on mingw buildersNikita Popov-0/+8
This is another attempt to work around https://github.com/rust-lang/rust/issues/108227. By limiting to one link job, we should be able to avoid file name clashes in mkstemp().
2023-04-13Auto merge of #110273 - flip1995:beta-backport, r=Manishearthbors-11/+52
[beta] Clippy: backport optimization and ICE fixes The first commit optimizes a lint, that runs noticeably slow and is a perf issue. See https://github.com/rust-lang/rust-clippy/pull/10533 The second commit fixes an ICE that occurred when running Clippy on `gitoxide` besides others. Since this is a rather popular crate, we want to fix this rather sooner than later. See https://github.com/rust-lang/rust-clippy/pull/10403 --- Both commits are already on `master` and deployed on `nightly`.
2023-04-13Handle ambiguous projectionsSamuel Moelius-4/+21
2023-04-13Cache `has_sig_drop_attr` for `significant_drop_tightening`Nilstrieb-7/+31
The lint is very slow as it doesn't cache the deeply nested check for the attribute. If we cache it, we can reduce the time spent on checking `rustc_borrowck` from 28s to 9s, which is a nice improvement. In the profile, the time inside `has_sig_drop_attr` goes from 66% to 0.2%, which is a lot more reasonable. See the PR for nice graphs.
2023-04-12Auto merge of #110236 - weihanglo:update-beta-cargo, r=weihanglobors-0/+0
[beta-1.69] cargo backport 1 commits in 713164a40962a0a76c7f3ad8aafb6f03410e21d2..6e9a83356b70586d4b77613a6b33f9ea067b9cdf 2023-03-26 20:05:25 +0000 to 2023-04-12 10:18:25 +0000 - [beta 1.69] Change -C to be unstable (rust-lang/cargo#11961) r? `@ghost`
2023-04-12[beta-1.69] cargo backportWeihang Lo-0/+0
2023-04-02Auto merge of #109741 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrumbors-357/+359
[beta] backport This PR backports: - #109332: Move us to the new large runners pool - #109156: Fix linker detection for clang with prefix - #109111: Create dirs for build_triple - #109094: Revert "enable ThinLTO for rustc on x86_64-pc-windows-msvc dist builds" Also bumps us to the latest released stable, 1.68.2. r? `@Mark-Simulacrum`
2023-03-31Auto merge of #109817 - oli-obk:revert_102245, r=pnkfelixbors-30/+22
Revert 102245 reverts #102245, but only on beta, as that caused #109543 which has since been fixed on nightly. This needed an additional partial revert of https://github.com/rust-lang/rust/commit/5b08c9f39754039ef9c6cbde157ac9eb8c252a58 for changes that happened due to later cleanups. I also added a test from the issue to make sure this actually fixes it 😆 r? `@wesleywiser` `@pnkfelix`
2023-03-31Add regression testOli Scherer-0/+8
2023-03-31Partially revert 5b08c9f39754039ef9c6cbde157ac9eb8c252a58Oli Scherer-2/+8
2023-03-31Revert "Constify cmp_min_max_by"Oli Scherer-28/+6
This reverts commit 2e7a201d2e9e73477f1e69240711bfe09aefdc18.
2023-03-29Bump bootstrap to 1.68.2Mark Rousskov-290/+290
2023-03-29Revert "enable ThinLTO for rustc on x86_64-pc-windows-msvc dist builds"Nilstrieb-2/+1
This lead to a miscompilation in at least `char::is_whitespace` and probably in more unknown places..... This reverts commit 684663ed380d0e6a6e135aed9c6055ab4ba94ac8.
2023-03-29Create dir for build_tripleMu001999-0/+1
2023-03-29Fix linker detection for clang with prefixTaiki Endo-1/+3
2023-03-29Move us to the new large runners poolMark Rousskov-64/+64
For now this keeps all the configuration identical (AFAICT) but we'll likely want to play with the specifics to move some of the slower builders to larger machines and the faster builders to smaller machines, likely reducing overall usage and improving CI times.
2023-03-27Auto merge of #109653 - weihanglo:beta-1.69-backport, r=weihanglobors-0/+0
[beta-1.69-cargo] Backport GitHub RSA key revocation 1 commits in 7b18c85808a6b45ec8364bf730617b6f13e0f9f8..713164a40962a0a76c7f3ad8aafb6f03410e21d2 2023-03-17 12:29:33 +0000 to 2023-03-26 20:05:25 +0000 - [beta] Backport GitHub RSA key revocation (rust-lang/cargo#11892)
2023-03-27[beta-1.69] Backport GitHub RSA key revocationWeihang Lo-0/+0
2023-03-19Auto merge of #109265 - weihanglo:update-beta-cargo, r=weihanglobors-1/+1
[beta-1.69] cargo beta backports 3 commits in 9880b408a3af50c08fab3dbf4aa2a972df71e951..7b18c85808a6b45ec8364bf730617b6f13e0f9f8 2023-02-28 19:39:39 +0000 to 2023-03-17 12:29:33 +0000 - [beta-1.69] backport rust-lang/cargo#11824 (rust-lang/cargo#11863) - [beta-1.69] backport rust-lang/cargo#11820 (rust-lang/cargo#11823) - chore: Backport rust-lang/cargo#11630 to `1.69.0` (rust-lang/cargo#11806) r? `@ghost`
2023-03-17[beta] Update cargoWeihang Lo-1/+1
2023-03-17Auto merge of #109033 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrumbors-567/+561
[beta] backport This PR backports: - #108901: fix: evaluate with wrong obligation stack - #108754: Retry `pred_known_to_hold_modulo_regions` with fulfillment if ambiguous - #108691: fix multiple issues when promoting type-test subject It also bumps to the released stable. r? `@Mark-Simulacrum`
2023-03-16ci: use `apt install --download-only` for solaris debsJosh Stone-6/+4
2023-03-11tweak debug output and bless testsAli MJ Al-Nasrawy-30/+34
2023-03-11tweak ClosureOutlivesSubjectTyAli MJ Al-Nasrawy-8/+11
2023-03-11ignore bivariant regions in opaque typesAli MJ Al-Nasrawy-20/+32
2023-03-11smarter algorithm for finding an equal regionAli MJ Al-Nasrawy-106/+11
Smarter and simpler!
2023-03-11promote subject even if it has unnamed regionsAli MJ Al-Nasrawy-67/+66
Don't require a region to have an `external_name` in order to be promoted.
2023-03-11add known-bug testsAli MJ Al-Nasrawy-0/+137
2023-03-11Retry pred_known_to_hold_modulo_regions with fulfillment if ambiguousMichael Goulet-3/+5
2023-03-11fix: evaluate with wrong obligation stackyifei-2/+47
2023-03-11Bump to released stableMark Rousskov-402/+291
2023-03-06Auto merge of #108817 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-25/+25
[beta] Promote 1.69.0 nightly to beta This bumps version placeholders and switches the CI channel. https://forge.rust-lang.org/release/process.html#beta-to-stable r? `@Mark-Simulacrum`
2023-03-06Bump channel to betaMark Rousskov-1/+1
2023-03-06Bump version placeholdersMark Rousskov-24/+24
2023-03-04Auto merge of #108692 - nnethercote:dont-call-temporary_scope-twice, r=cjgillotbors-4/+2
Don't call `temporary_scope` twice. `mirror_expr_inner` calls `temporary_scope`. It then calls `make_mirror_unadjusted` which makes an identical call to `temporary_scope`. This commit changes the `mirror_expr_inner` to get the `temp_lifetime` out of the expression produced by `make_mirror_unadjusted`, similar to how it currently gets the type. r? `@cjgillot`
2023-03-04Auto merge of #108732 - Dylan-DPC:rollup-dy1l8sx, r=Dylan-DPCbors-19/+73
Rollup of 6 pull requests Successful merges: - #108298 (Fix ICE: check if snippet is `)`) - #108405 (Lazily compute crate name for consider_optimizing) - #108656 (Rustdoc search: Emit an error for unclosed generic) - #108660 (Remove ne implementations from strings) - #108669 (Allow checking whether a type allows being uninitialized) - #108727 (rustc_expand: make proc-macro derive error translatable) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2023-03-04Rollup merge of #108727 - tshepang:example-translatable-diagnostic, r=NilstriebDylan DPC-1/+11
rustc_expand: make proc-macro derive error translatable kept this tiny so as to point to it as an example in rustc-dev-guide `@rustbot` label +A-translation
2023-03-04Rollup merge of #108669 - Nilstrieb:query-my-uninitness, r=compiler-errorsDylan DPC-2/+11
Allow checking whether a type allows being uninitialized This is useful for clippy ([rust-lang/clippy#10407](https://github.com/rust-lang/rust-clippy/issues/10407)) and for the future `MaybeUninit::assume_init` panics (#100423).
2023-03-04Rollup merge of #108660 - xfix:remove-ne-method-from-str, r=thomccDylan DPC-8/+0
Remove ne implementations from strings As far as I can tell, there isn't really a reason for those.
2023-03-04Rollup merge of #108656 - GuillaumeGomez:rustdoc-search-unclosed-generic, ↵Dylan DPC-1/+23
r=notriddle Rustdoc search: Emit an error for unclosed generic Now, search like `a<` will error as it should (and as written in the eBNF). r? `@notriddle`
2023-03-04Rollup merge of #108405 - Nilstrieb:lazy-crate-name-optimization-fuel, ↵Dylan DPC-5/+8
r=WaffleLapkin Lazily compute crate name for consider_optimizing The extra query is unnecessary in the common case of not having fuel.
2023-03-04Rollup merge of #108298 - TaKO8Ki:fix-104440, r=cjgillotDylan DPC-2/+20
Fix ICE: check if snippet is `)` Fixes #107705
2023-03-04Auto merge of #108689 - compiler-errors:normalization-error-smaller, r=lcnrbors-3/+0
Remove `NormalizationError::ConstantKind` No longer in use by `TryNormalizeAfterErasingRegionsFolder` (as of #102355 / e8150fa60cc445de7a57db634deb0668880be593 it seems). It's making `LayoutError`, etc. kinda large -- that was noticed by `@zoxc.`