Michael Goulet
4d01f53ec0
Additional revert fixes
2022-10-27 15:03:34 +00:00
Michael Goulet
85dee2b354
Revert "Do not consider method call receiver as an argument in AST."
...
This reverts commit 970184528718d7c10579cac7b7e7e66ef2e2a3f5.
2022-10-27 14:53:42 +00:00
Michael Goulet
1fc2385678
Revert "Adapt ui-fulldeps test."
...
This reverts commit 69205db766acb80181462f3293a502c5a32d2ca5.
2022-10-27 14:45:01 +00:00
bors
a317055498
Auto merge of #103316 - cuviper:beta-next, r=cuviper
...
[beta] backports
- Use rebind instead of dummy binder in `SameTypeModuloInfer` relation #102059
- Add missing space between notable trait tooltip and where clause #102107
- Avoid repeated re-initialization of the BufReader buffer #102760
- Ensure enum cast moves #103016
- Fix `TyKind::is_simple_path` #103176
- Do anonymous lifetimes remapping correctly for nested rpits #103205
- [beta] Cargo backport 1.65.0 #103303
- linker: Fix weak lang item linking with combination windows-gnu + LLD + LTO #103092
r? `@ghost`
2022-10-21 06:52:36 +00:00
Vadim Petrochenkov
731bbc854d
linker: Fix weak lang item linking with combination windows-gnu + LLD + LTO
...
(cherry picked from commit acf51e13457c45b97cdfd551d85d3e75140e0ff7)
2022-10-20 12:50:05 -07:00
Weihang Lo
b1fb60e5a6
[beta] Update cargo
...
1 commits in 082503982ea0fb7a8fd72210427d43a2e2128a63..4bc8f24d3e899462e43621aab981f6383a370365
2022-09-13 17:49:38 +0000 to 2022-10-20 06:00:42 +0000
- [BETA-1.65] Fix deadlock when build scripts are waiting for input on stdin (rust-lang/cargo#11257 )
2022-10-20 12:28:28 -07:00
Santiago Pastorino
5dbca914b5
Do anonymous lifetimes remapping correctly for nested rpits
...
(cherry picked from commit 49ce8a22b05d779da4ffc531a44380656d51404b)
2022-10-20 11:58:08 -07:00
Santiago Pastorino
2396c20488
Extract orig_opt_local_def_id as a function
...
(cherry picked from commit fb5475887f8f3641aea994e1f8f8954d1290449a)
2022-10-20 11:58:07 -07:00
Nicholas Nethercote
692bc5b3ca
Fix TyKind::is_simple_path
.
...
PR #98758 introduced code to avoid redundant assertions in derived code
like this:
```
let _: ::core::clone::AssertParamIsClone<u32>;
let _: ::core::clone::AssertParamIsClone<u32>;
```
But the predicate `is_simple_path` introduced as part of this failed to
account for generic arguments. Therefore the deriving code erroneously
considers types like `Option<bool>` and `Option<f32>` to be the same.
This commit fixes `is_simple_path`.
Fixes #103157 .
(cherry picked from commit 9a23f60f9c801dd0b4686cc75c6a9979bd8928fa)
2022-10-20 11:57:41 -07:00
Nicholas Nethercote
8f1050e005
Tweak deriving-all-codegen.rs
.
...
To include some `Option<>` fields of different types in a single enum.
The test output is currently buggy, but the next commit will fix that.
(cherry picked from commit dfa9d5c971d74aa5bdf6b99253fe4b7db39f9b67)
2022-10-20 11:57:41 -07:00
Gary Guo
7539bc352b
Fix test
...
(cherry picked from commit 4a25a49edfcca0392a9731df351f1a1229a6e662)
2022-10-20 11:54:03 -07:00
Gary Guo
b4ad734ee2
Bless tests
...
(cherry picked from commit 247da7b18de01886fb73a49f8b9ca59cfec16e64)
2022-10-20 11:53:58 -07:00
Gary Guo
8c36d46f5e
Add test for issue 102389
...
(cherry picked from commit f1452fc1c99bc6d126a096694b0f70d9fe4734b6)
2022-10-20 11:49:05 -07:00
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