summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-01-24Auto merge of #107260 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.67.0bors-1/+200
[stable] 1.67.0 release No end of cycle backports this time. r? `@Mark-Simulacrum`
2023-01-241.67.0 releaseMark Rousskov-1/+200
2023-01-22Auto merge of #107164 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-394/+584
[beta] backport * Don't wf-check non-local RPITs #107038 * Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error" #107133 * bump bootstrap 1.66.1 r? `@Mark-Simulacrum`
2023-01-21Bump bootstrap to 1.66.1Mark Rousskov-342/+285
2023-01-21Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error"Mark Rousskov-49/+238
This reverts commit 7d82cadd97acc66993b69304c5a1a04ef7d1fa36.
2023-01-21Conditionally encode booleanMichael Goulet-4/+15
2023-01-21Add testMichael Goulet-0/+26
2023-01-21Encode whether foreign opaques are TAITs or notMichael Goulet-2/+23
2023-01-20Auto merge of #107071 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-70/+126
[beta] backport rollup * Revert "Make nested RPITIT inherit the parent opaque's generics." #106759 * Fix mpsc::SyncSender spinning behavior #106701 * rustdoc: fix outdated lint section of the book #106605 * Do not filter substs in remap_generic_params_to_declaration_params. #106503 * Correct detection of elided lifetimes in impl-trait. #106501 * Bump rust-installer #106196 * Don't panic on stable since miri is not available there #105901
2023-01-19Don't panic on stable since miri is not available thereOli Scherer-4/+8
2023-01-19Bump rust-installerMark Rousskov-0/+0
* `--without=component-a,component-b` now requires full component names. This fixes rust-lang/rust#105755 (rust-lang/rust-installer#119).
2023-01-19Correct detection of elided lifetimes in impl-trait.Camille GILLOT-2/+9
2023-01-19Do not filter substs in `remap_generic_params_to_declaration_params`.Camille GILLOT-28/+41
The relevant filtering should have been performed by borrowck.
2023-01-19rustdoc: fix outdated lint section of the bookMichael Howell-1/+1
2023-01-19rework and document backoff behavior of `sync::mpsc`Ibraheem Ahmed-31/+30
2023-01-19add `SyncSender::send_timeout` testIbraheem Ahmed-1/+18
2023-01-19fix `SyncSender` spinning behaviorIbraheem Ahmed-1/+1
2023-01-19Revert "Make nested RPITIT inherit the parent opaque's generics." and adjust ↵Michael Goulet-2/+18
test This reverts commit e2d41f4c974f0cc09e5aafb02883f222487610f9.
2023-01-14Auto merge of #106731 - flip1995:clippy_backport, r=Mark-Simulacrumbors-1/+4
[beta] Clippy: Move manual_clamp to nursery There was a lot of discussion about this lint in https://github.com/rust-lang/rust-clippy/pull/9484#issuecomment-1278922613 We decided to move the lint to `nursery`. But since this lint broke code of many popular projects, we don't want to wait another release cycle until this move gets into stable. So we'd like to backport this commit to `beta`. cc `@rust-lang/clippy` for approval from the Clippy side.
2023-01-11Move manual_clamp to nurseryPhilipp Krones-1/+4
2023-01-11Auto merge of #106686 - pietroalbini:pa-cve-beta, r=pietroalbinibors-19/+59
[beta] Fix CVE-2022-46176 See https://blog.rust-lang.org/2023/01/10/cve-2022-46176.html r? `@ghost`
2023-01-10add subtle dependencyPietro Albini-0/+2
2023-01-10bump Cargo submodule to fix CVE-2022-46176Pietro Albini-12/+49
2023-01-10disable fast submodule checkout due to spurious ci failuresPietro Albini-7/+8
2022-12-31Auto merge of #106326 - matthiaskrgr:beta_clippy, r=Mark-Simulacrumbors-50/+105
[beta] backport clippy stack overflow fix Backports https://github.com/rust-lang/rust-clippy/pull/10086 to the beta branch where the bug is still present. I just cherry-picked the commit. cc `@rust-lang/clippy`
2022-12-31Fix new_return_no_self with recursive boundsGary Guo-50/+105
2022-12-28Auto merge of #106163 - compiler-errors:🅱-IMPLIED_BOUNDS_ENTAILMENT, ↵bors-15/+223
r=Mark-Simulacrum Backport `IMPLIED_BOUNDS_ENTAILMENT` lint r? `@Mark-Simulacrum` as requested https://github.com/rust-lang/rust/pull/105575#issuecomment-1365490589
2022-12-28Auto merge of #106188 - ↵bors-17/+149
bryangarza:bug-104588-async-track-caller_beta-backport, r=compiler-errors Backport: Switch `#[track_caller]` back to a no-op unless feature gate is enabled Backport of #104741 r? `@compiler-errors` since you reviewed the original PR requested by `@Mark-Simulacrum` https://github.com/rust-lang/rust/pull/104741#issuecomment-1365492142
2022-12-27Switch `#[track_caller]` back to a no-op unless feature gate is enabledBryan Garza-17/+149
This patch fixes a regression, in which `#[track_caller]`, which was previously a no-op, was changed to actually turn on the behavior. This should instead only happen behind the `closure_track_caller` feature gate. Also, add a warning for the user to understand how their code will compile depending on the feature gate being turned on or not. Fixes #104588
2022-12-27Auto merge of #106162 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-74/+141
[beta] backport rollup * Revert "Replace usage of ResumeTy in async lowering with Context" #105915 * Don't copy symbols from dylibs with -Zdylib-lto #105800 * rustdoc: Only hide lines starting with # in rust code blocks #105539 * Mangle "main" as "__main_void" on wasm32-wasi #105468 r? `@ghost`
2022-12-26Make fast-path for implied wf lint betterMichael Goulet-71/+92
2022-12-26Downgrade IMPLIED_BOUNDS_ENTAILMENT to warn by default, add it to builtin ↵Michael Goulet-30/+21
lint list
2022-12-26Make Clippy test no longer unsoundMichael Goulet-1/+1
2022-12-26Add IMPLIED_BOUNDS_ENTAILMENT lintMichael Goulet-7/+203
2022-12-26Mangle "main" as "__main_void" on wasm32-wasiDan Gohman-0/+4
On wasm, the age-old C trick of having a main function which can either have no arguments or argc+argv doesn't work, because wasm requires caller and callee signatures to match. WASI's current strategy is to have compilers mangle main's name to indicate which signature they're using. Rust uses the no-argument form, which should be mangled as `__main_void`. This is needed on wasm32-wasi as of #105395.
2022-12-26Add test for non-rust code block hashtag prepended linesGuillaume Gomez-0/+37
2022-12-26Don't take into account hashtag prepended lines if not in rust code blockGuillaume Gomez-3/+4
2022-12-26add simulated non-regression test for issue 105637Rémy Rakic-0/+52
2022-12-26don't copy symbols from dylibs with -Zdylib-ltoRémy Rakic-1/+1
2022-12-26Revert "Replace usage of `ResumeTy` in async lowering with `Context`"Andrew Pollack-70/+43
2022-12-13Auto merge of #105607 - pietroalbini:pa-beta-1.67.0, r=pietroalbinibors-64/+70
[beta] Prepare beta 1.67.0 This PR changes the branch to beta and updates the stabilization version numbers. r? `@ghost`
2022-12-13Merge pull request #3 from lukas-code/beta-nextPietro Albini-25/+31
[beta] Adjust miri to still be optional
2022-12-13Adjust miri to still be optionalMark Rousskov-25/+31
We don't distribute a miri build for beta/stable so it needs to be kept optional. In the future it likely makes sense to switch the miri *artifacts* to always be built, but the rustup component to not be included -- this will avoid some of this pain.
2022-12-12update stabilization version numbersPietro Albini-38/+38
2022-12-12change channel to betaPietro Albini-1/+1
2022-12-09Auto merge of #105262 - eduardosm:more-inline-always, r=thomccbors-25/+33
Make some trivial functions `#[inline(always)]` This is some kind of follow-up of PRs like https://github.com/rust-lang/rust/pull/85218, https://github.com/rust-lang/rust/pull/84061, https://github.com/rust-lang/rust/pull/87150. Functions that do very basic operations are made `#[inline(always)]` to avoid pessimizing them in debug builds when compared to using built-in operations directly.
2022-12-09Auto merge of #104572 - pkubaj:patch-1, r=cuviperbors-6/+8
Fix build on powerpc-unknown-freebsd Probably also fixes build on arm and mips*. Related to https://github.com/rust-lang/rust/issues/104220
2022-12-09Auto merge of #105486 - matthiaskrgr:rollup-o7c4l1c, r=matthiaskrgrbors-1152/+2016
Rollup of 10 pull requests Successful merges: - #105216 (Remove unused GUI test) - #105245 (attempt to clarify align_to docs) - #105387 (Improve Rustdoc scrape-examples UI) - #105389 (Enable profiler in dist-powerpc64le-linux) - #105427 (Dont silently ignore rustdoc errors) - #105442 (rustdoc: clean up docblock table CSS) - #105443 (Move some queries and methods) - #105455 (use the correct `Reveal` during validation) - #105470 (Clippy: backport ICE fix before beta branch) - #105474 (lib docs: fix typo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2022-12-09Rollup merge of #105474 - RalfJung:typo, r=dtolnayMatthias Krüger-1/+1
lib docs: fix typo r? `@thomcc`
2022-12-09Rollup merge of #105470 - flip1995:clippy_backport, r=ManishearthMatthias Krüger-4/+2
Clippy: backport ICE fix before beta branch r? `@Manishearth` Before beta is branched tomorrow we should backport the fix from https://github.com/rust-lang/rust-clippy/pull/10027 for an ICE. That way we'll get this into stable one release sooner. This only cherry-picks the fix, not the tests for it. The proper sync of this will be done next week Thursday.