200131 Commits

Author SHA1 Message Date
Gary Guo
f66eca1f13 Ensure enum cast moves
(cherry picked from commit de0396c7180f8e36165c3fefb9325b0ec1bfb5a2)
2022-10-20 11:49:05 -07:00
Ben Kimock
de7a6e5b3e Avoid defensive re-initialization of the BufReader buffer
(cherry picked from commit 95ae993bd86b97aff9a27498f2187fef431cab58)
2022-10-20 11:48:54 -07:00
Urgau
45b953a09d Add missing space between notable trait tooltip and where clause
(cherry picked from commit e214385a4d1933ddb6a4c6ffeed50c7228674656)
2022-10-20 11:37:06 -07:00
Michael Goulet
f2dd585e64 Better binder treatment
(cherry picked from commit 83e6128b577649384ef4bd137223bcffe5c8a5b0)
2022-10-20 11:30:00 -07:00
bors
da7ffa2d1d Auto merge of #102676 - cuviper:beta-next, r=cuviper
[beta] backports

* Avoid duplicating StorageLive in let-else #101894
* Re-add HRTB implied static bug note #101924
* Revert "Copy stage0 binaries into stage0-sysroot" #101942
* implied_bounds: deal with inference vars #102016
* fix ConstProp handling of written_only_inside_own_block_locals #102045
* Fix wrongly refactored Lift impl #102088
* Fix a typo “pararmeter” in error message #102119
* Deny associated type bindings within associated type bindings #102338
* Continue migration of CSS themes #101934
* Fix search result colors #102369
* Fix unwind drop glue for if-then scopes #102394
* Revert "Use getentropy when possible on all Apple platforms" #102693
* Fix associated type bindings with anon const in GAT position #102336
* Revert perf-regression 101620 #102064
* `EscapeAscii` is not an `ExactSizeIterator` #99880
2022-10-10 00:22:17 +00:00
Michael Goulet
f73da694c6 EscapeAscii is not an ExactSizeIterator
(cherry picked from commit 8abcd4d23538aa1e4c1164bca2c96ce0d7eb57ed)
2022-10-08 14:40:11 -07:00
Camille GILLOT
d223452d10 Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"
This reverts commit 2cb9a65684dba47c52de8fa938febf97a73e70a9, reversing
changes made to 750bd1a7ff3e010611b97ee75d30b7cbf5f3a03c.

(cherry picked from commit fc43df0333d5862a219f16d294ae38b14b9191d3)
2022-10-06 10:11:02 -07:00
Michael Goulet
328b53f5f0 Support bindings with anon consts in generics
(cherry picked from commit 92561f43f185b54c81167ddc89fbe2dcd94b4efb)
2022-10-06 10:07:34 -07:00
Michael Goulet
99a8cc16d8 Make type_of work correctly for const arg bindings
(cherry picked from commit 05267b5a50bfa3952fe2a4433f4e12a93e15dd22)
2022-10-06 10:07:34 -07:00
Michael Goulet
14ff4cc94a Format type_of
(cherry picked from commit cca48285b87e44f34788773eef520f9e3f9b20c9)
2022-10-06 10:07:34 -07:00
BlackHoleFox
3d501fb2be Revert "Use getentropy when possible on all Apple platforms"
This reverts commit 3fc35b5b935e390c61ea2bbf744838b2632b2df1.

(cherry picked from commit a955ef2c8c95a289f0753e533b690c576b1806bf)
2022-10-06 07:56:13 -07:00
Ding Xiang Fei
cbcd6a1249 fix doc and dedup diverge_cleanup
(cherry picked from commit 565c35aa5c3c39626fcd332bafbd8936b70ed989)
2022-10-05 16:51:42 -07:00
X
149b8ad25b use build-pass for the test
(cherry picked from commit 5131e9db07fb6cd158cf5bf2aa9fefbad3af1d2b)
2022-10-05 16:51:42 -07:00
X
3a6527483e apply suggestion
Co-authored-by: SafariMonkey <charlton.rodda@gmail.com>
(cherry picked from commit fb52dc7c3b7cc5170d5096931827a0169fd65eb5)
2022-10-05 16:51:42 -07:00
Ding Xiang Fei
82cca232cf fix unwind drop glue for if-then scopes
(cherry picked from commit 4a2c1a12b662eb590dbe78f7f9d13c2f327d3bb6)
2022-10-05 16:51:39 -07:00
Guillaume Gomez
1e14fffd9d Add GUI regression test for search results colors
(cherry picked from commit a925e203d199daac8589efa2b5e9849474f1e3a1)
2022-10-04 13:27:13 -07:00
Guillaume Gomez
69baa97520 Fix regression for results colors
(cherry picked from commit ef410f1b01f1f3e54975b6142062c737875d6c22)
2022-10-04 13:27:13 -07:00
Guillaume Gomez
218244646f Add GUI test for links colors
(cherry picked from commit 5d449a017b1740939d56d42ab5025f9854b407b2)
2022-10-04 13:26:58 -07:00
Guillaume Gomez
b5b2a93b47 Create new CSS variables for links color
(cherry picked from commit 1c659977d6f2ff3b2d70cfb2607cd8725d9fbe03)
2022-10-04 13:26:58 -07:00
Michael Goulet
df1e9317c1 Deny associated type bindings within associated type bindings
(cherry picked from commit ca2e0bb51ad1a00190430134c67da5cda356745e)
2022-10-04 12:57:03 -07:00
Frank Steffahn
658aa16696 Bless test output changes
(cherry picked from commit 07767784ad667f4763e3ad6d7914849f3a43c65f)
2022-10-04 12:52:29 -07:00
Frank Steffahn
50a843393b Fix a typo in error message
(cherry picked from commit 696472a5867dafa35c5262da709677075fab9dc8)
2022-10-04 12:52:29 -07:00
Oli Scherer
795a6da312 Fix wrongly refactored Lift impl
(cherry picked from commit 3e6c9e5a194902ec6c8c26586fe6fa72dd624004)
2022-10-04 12:52:19 -07:00
Ralf Jung
b11721537d fix ConstProp handling of written_only_inside_own_block_locals
(cherry picked from commit 7373788c370a917c0472cbca30cfdf5d3c6ca086)
2022-10-04 12:52:07 -07:00
lcnr
3ed6af5465 add test
(cherry picked from commit 72a21027f5bee367bd9ccbeecc2528986f85d90b)
2022-10-04 12:51:50 -07:00
lcnr
274d80213d improve infer var handling for implied bounds
(cherry picked from commit 71f8fd5c5859fa09587486351f849277a910e4d9)
2022-10-04 12:51:50 -07:00
Mark Rousskov
6504453ca2 Revert "fix #101691: copy stage0 binaries into stage0-sysroot"
This reverts commit 32f8eb2fee4d6781a79052b560abd10e12ebb34f.

(cherry picked from commit f0c78ee3dc7c6b99a939e6afb7348ba8b543d7fd)
2022-10-04 12:51:28 -07:00
Jack Huey
cf1c279224 Use Predicate ConstraintCategory when normalizing
(cherry picked from commit e7ca6e1b47ce31ad544cd8f0eb7e5cd47b325e63)
2022-10-04 12:51:09 -07:00
Jack Huey
923b120edc Add back in normalize call
(cherry picked from commit 1eb71f08932f0935584432f47900c5b6ee6844ba)
2022-10-04 12:51:09 -07:00
Jack Huey
8a8c370dbc Final bits
(cherry picked from commit e09242d5b82953652b5a898257d7c8f249d34bea)
2022-10-04 12:51:09 -07:00
Jack Huey
4854513ebd Add ExtraConstraintInfo
(cherry picked from commit f1767dbb42374646fd5331d4946dc233e68d0ed5)
2022-10-04 12:51:09 -07:00
Jack Huey
f174f66f7e Add AscribeUserTypeProvePredicate
(cherry picked from commit 9929c0ac76bbbe2b3b8a0c28df91310067ae57fa)
2022-10-04 12:51:09 -07:00
Jack Huey
8ecf3e7b78 Add outlives_constraint to BlameConstraint
(cherry picked from commit ec17be2656fc69e212d9079f79322a68a3cfbc19)
2022-10-04 12:51:09 -07:00
Jack Huey
e0bcd8ff35 Add to_constraint_category to ObligationCause and SubregionOrigin
(cherry picked from commit 67653292beccfd3b88d13d9060d4e84c4a261f63)
2022-10-04 12:51:09 -07:00
Jack Huey
d1cbeba32c Pass ConstraintCategory thorough a few more places
(cherry picked from commit 6075877c897e1f6d2580ecd02a345b964b63d20d)
2022-10-04 12:51:09 -07:00
Jack Huey
bafca234de Make QueryOutlivesConstraint contain a ConstraintCategory
(cherry picked from commit a46376e247e947f6e7db5ac6da5da4d88249942a)
2022-10-04 12:51:09 -07:00
Ding Xiang Fei
4e55812e3d add miri test via const fn
(cherry picked from commit eb36f5ee5b71cbe3eb356f8e56e9c9a69b6d649d)
2022-10-04 12:50:52 -07:00
Ding Xiang Fei
3f2c7e459e add mir-opt test
(cherry picked from commit d510ba3bc3b6d41e36cb40b64af65637de39ff8b)
2022-10-04 12:50:52 -07:00
Ding Xiang Fei
23e34ab49b avoid duplicating StorageLive in let-else
(cherry picked from commit 48c1c1d19043120e9e89b3186d5d5286142f3066)
2022-10-04 12:50:52 -07:00
bors
e5da98475e Auto merge of #102179 - pietroalbini:pa-beta-bump-stage0, r=Mark-Simulacrum
[beta] Bump stage0

Last step of the release process.

r? `@Mark-Simulacrum`
2022-09-24 17:19:46 +00:00
Pietro Albini
f9a5479de6
bump stage0 2022-09-23 11:42:13 +02:00
bors
2a65764f21 Auto merge of #102015 - rust-lang:pa-beta-next, r=pietroalbini
[beta] Prepare beta 1.65.0

This PR prepares the beta branch for Rust 1.65.0.

r? `@ghost`
cc `@rust-lang/release`
2022-09-19 20:08:44 +00:00
Mark Rousskov
ce70c6f3f3
Enable RUSTC_BOOTSTRAP for a few steps 2022-09-19 21:11:19 +02:00
Pietro Albini
b26e01b531
switch to the beta channel 2022-09-19 14:57:18 +02:00
Pietro Albini
4e76cbb524
replace stabilization placeholders 2022-09-19 14:54:16 +02:00
bors
48de123d7a Auto merge of #101857 - lcnr:make-dyn-again, r=jackh726
change `FnMutDelegate` to trait objects

cc #100016 as mentioned in the last t-compiler meeting

r? `@jackh726`
2022-09-17 13:37:48 +00:00
bors
672831a5c8 Auto merge of #101938 - Dylan-DPC:rollup-6vlohhs, r=Dylan-DPC
Rollup of 6 pull requests

Successful merges:

 - #93628 (Stabilize `let else`)
 - #98441 (Implement simd_as for pointers)
 - #101790 (Do not suggest a placeholder to const and static without a type)
 - #101807 (Disallow defaults on type GATs)
 - #101915 (doc: fix redirected link in `/index.html`)
 - #101931 (doc: Fix a typo in `Rc::make_mut` docstring)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
2022-09-17 10:56:42 +00:00
Dylan DPC
80cceb8f77
Rollup merge of #101931 - msakuta:master, r=thomcc
doc: Fix a typo in `Rc::make_mut` docstring

A very minor typo fix.
2022-09-17 15:31:09 +05:30
Dylan DPC
4515cb9621
Rollup merge of #101915 - notriddle:notriddle/redirect, r=GuillaumeGomez
doc: fix redirected link in `/index.html`

Fallout from #101166
2022-09-17 15:31:09 +05:30
Dylan DPC
7c55c992ab
Rollup merge of #101807 - jackh726:no-gat-defaults, r=lcnr
Disallow defaults on type GATs

Fixes #99205
2022-09-17 15:31:08 +05:30