summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2022-08-08Auto merge of #100273 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.63.0bors-38/+322
[stable] 1.63.0 release Includes cherry picks of: * https://github.com/rust-lang/rust/pull/100207 * https://github.com/rust-lang/rust-clippy/pull/9302 * Avoid ICE in rustdoc when using Fn bounds #100205 r? `@Mark-Simulacrum`
2022-08-08Add regression test commentNoah Lev-0/+2
2022-08-08Synthetize a trait ref when none is available.Camille GILLOT-7/+15
2022-08-08Avoid ICE in rustdoc.Camille GILLOT-5/+24
2022-08-08Move `significant_drop_in_scrutinee` into `nursey`Jason Newcomb-3/+2
2022-08-08rustdoc: do not mark the contents of a skipped module as inlinedMichael Howell-21/+70
2022-08-08Bump to stableMark Rousskov-4/+211
2022-08-05Auto merge of #100171 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-83/+247
[beta] Rollup of beta backports Includes the following PRs: * rustc-docs: Be less specific about the representation of +bundle #100074 * Fix backwards-compatibility check for tests with +whole-archive #100068 * Revert write! and writeln! to late drop temporaries #99689 * Upgrade indexmap and thorin-dwp to use hashbrown 0.12 #99251 * rustdoc: avoid inlining modules with duplicate names #99738 r? `@ghost`
2022-08-05fixup rustdoc testMark Rousskov-2/+2
2022-08-05Update Cargo.lockMark Rousskov-2/+2
2022-08-05rustdoc: avoid inlining foreigns with duplicate namesMichael Howell-5/+27
2022-08-05rustdoc: avoid inlining modules with duplicate namesMichael Howell-2/+26
Fixes rust-lang/rust#99734
2022-08-05Upgrade hashbrown to 0.12.3Amanieu d'Antras-4/+4
This fixes a double-free in the `clone_from` function if dropping an existing element in the table panics. See https://github.com/rust-lang/hashbrown/pull/348 for more details.
2022-08-05Upgrade indexmap and thorin-dwp to use hashbrown 0.12Josh Stone-41/+20
This removes the last dependencies on hashbrown 0.11.
2022-08-05Move write! and writeln! temporaries test to check-failDavid Tolnay-16/+93
2022-08-05Regression in issue 99684 fixedDavid Tolnay-31/+1
2022-08-05Revert write! and writeln! to late drop temporariesDavid Tolnay-8/+6
2022-08-05Add regression test minimized from async-std writeDavid Tolnay-0/+67
2022-08-05Fix backwards-compatibility check for tests with `+whole-archive`Daniel Sommermann-4/+31
Fixes #100066
2022-08-05rustc-docs: Be less specific about the representation of `+bundle`Vadim Petrochenkov-3/+3
2022-08-04Auto merge of #99965 - RalfJung:ctfe-number-prov, r=eddybbors-467/+366
allow numbers with provenance within CTFE execution This effectively reverts https://github.com/rust-lang/rust/pull/97684 for CTFE. Undoes the diagnostic changes that are tracked in https://github.com/rust-lang/rust/issues/99923, only for beta. (On master this patch wouldn't apply any more, `enforce_number_no_provenance` is gone with https://github.com/rust-lang/rust/pull/99644 since the interpreter engine is not supposed to ever have provenance on integers.) The test changes are an exact un-do of https://github.com/rust-lang/rust/pull/97684. However there is still some risk here since this exact code is not what has been battle-tested. r? `@Mark-Simulacrum`
2022-07-30allow numbers with provenance within CTFE executionRalf Jung-467/+366
This effectively reverts https://github.com/rust-lang/rust/pull/97684 for CTFE
2022-07-22Auto merge of #99586 - ehuss:beta-backports, r=ehussbors-46/+215
[beta] Beta 1.63 backports * Reference: Revert $$ macro_metavar https://github.com/rust-lang/reference/pull/1192 * Revert "Stabilize $$ in Rust 1.63.0" #99435 * rustdoc: avoid inlining items with duplicate `(type, name)` #99344 * Do not call `check_expr` twice in `check_compatible` #99397
2022-07-21beta backport of arg mismatch bugfixMichael Goulet-22/+51
2022-07-21Rollup merge of #99344 - ↵Dylan DPC-5/+107
notriddle:notriddle/multiple-macro-rules-w-same-name, r=GuillaumeGomez rustdoc: avoid inlining items with duplicate `(type, name)` Fixes #99221
2022-07-21Rollup merge of #99435 - CAD97:revert-dollar-dollar-crate, r=Mark-SimulacrumMatthias Krüger-19/+57
Revert "Stabilize $$ in Rust 1.63.0" This mechanically reverts commit 9edaa76adce4de737db54194eb13d6c298827b37, the one commit from #95860. https://github.com/rust-lang/rust/issues/99035; the behavior of `$$crate` is potentially unexpected and not ready to be stabilized. https://github.com/rust-lang/rust/pull/99193 attempts to forbid `$$crate` without also destabilizing `$$` more generally. `@rustbot` modify labels +T-compiler +T-lang +P-medium +beta-nominated +relnotes (applying the labels I think are accurate from the issue and alternative partial revert) cc `@Mark-Simulacrum`
2022-07-21Update referenceEric Huss-0/+0
This is in preparation to merge https://github.com/rust-lang/rust/pull/99435 which will require the toolstate to be passing. 1 commits in 9fce337a55ee4a4629205f6094656195cecad231..dd07eda38b15f756d60556b7bd7eed6d8db3eeca 2022-06-22 13:59:28 -0700 to 2022-07-21 19:05:26 -0700 - This reverts commit 151b8196a30b1c00cb422e25f459dd4354043a6a, reversing (rust-lang/reference#1192)
2022-07-16Auto merge of #99300 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-35/+377
[beta] rollup * Fix sized check ICE in asm check #99124 * Windows: Fallback for overlapped I/O #98950 * promote placeholder bounds to 'static obligations #98713 * Create fresh lifetime parameters for bare fn trait too #98637 r? `@Mark-Simulacrum`
2022-07-15Handle fresh lifetimes on bare trait objects.Camille GILLOT-71/+53
2022-07-15Add known bug test.Camille GILLOT-0/+118
2022-07-15promote placeholder bounds to 'static obligationsNiko Matsakis-7/+86
In NLL, when we are promoting a bound out from a closure, if we have a requirement that `T: 'a` where `'a` is in a higher universe, we were previously ignoring that, which is totally wrong. We should be promoting those constraints to `'static`, since universes are not expressible across closure boundaries.
2022-07-15Fix ui-fulldep testChris Denton-6/+11
2022-07-15Tests for unsound Windows file methodsChris Denton-0/+101
2022-07-15Windows: Fallback for overlapped I/OChris Denton-1/+26
Try waiting on the file handle once. If that fails then give up.
2022-07-15Use `rtabort!` instead of `process::abort`Chris Denton-7/+2
2022-07-15Fix sized check ICE in intrisicckMichael Goulet-20/+57
2022-07-10Auto merge of #99098 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-191/+162
[beta] backport rollup * Return a FxIndexSet in is_late_bound query. #98959 * rustdoc: filter '_ lifetimes from ty::PolyTraitRef #98727 * don't succeed evaluate_obligation query if new opaque types were registered #98614 * Update llvm-project #98567 There's a few more as-yet-unapproved/unmerged PRs that'll land later, but creating a partial rollup for now so that we can include at least some PRs in the first crater run. r? `@Mark-Simulacrum`
2022-07-09Backport "Update llvm-project #98567"Mark Rousskov-0/+0
This cherry picks: * c9676870a8f378940ec446c4184254f361feabe6 * f14a034634ac7ddc314008e39d62af6ceae0166a * 3317cfea1b72c0861c9e4e9f5eba5713fd19e7f7 * 8b6b5014fdad3a750f7242a6bfdcad83619498d4
2022-07-09Fix tests after beta backportMark Rousskov-2/+2
2022-07-09Only register hidden types for opaque types from the current crate, nothing ↵Oli Scherer-1/+2
else would work anyway.
2022-07-09not knowing about opaque types is worse than not knowing about regions, make ↵Oli Scherer-2/+2
sure we don't accidentally mark something as ok-modulo-regions if there are opaque types involved
2022-07-09Remove type flag based opaque type workaroundOli Scherer-181/+30
2022-07-09Make `evaluate_obligation` not succeed unconditionally if it registered new ↵Oli Scherer-11/+31
hidden types for opaque types
2022-07-09use a method instead of manually doing what its body doesOli Scherer-1/+1
2022-07-09pessimistically treat all function items as containing an opaque typeOli Scherer-4/+63
2022-07-09rustdoc: filter '_ lifetimes from ty::PolyTraitRefMichael Howell-1/+23
Fixes #98697
2022-07-09Add link to issue for src/test/incremental/async-lifetimes.rsMichael Woerister-0/+2
2022-07-09Add regression test.Camille GILLOT-0/+17
2022-07-09Return a FxIndexSet in is_late_bound query.Camille GILLOT-3/+4
This return value is iterated upon by borrowck, hence the need to preserve a deterministic iteration order.
2022-07-06Auto merge of #98949 - ehuss:update-beta-cargo, r=ehussbors-21/+160
[beta] Beta 1.63 backports * fix data race in thread::scope #98503 * Mitigate MMIO stale data vulnerability #98126 * Cargo: * [BETA-1.63] Fix zsh completions for add and locate-project (rust-lang/cargo#10811) * [BETA-1.63] Bump cargo-util version. (rust-lang/cargo#10805)