bors
a178d0322c
Auto merge of #87476 - pietroalbini:stable-next, r=Mark-Simulacrum
...
Prepare 1.54.0 release
This PR builds the stable artifacts for the 1.54.0 release. Backports included:
* https://github.com/rust-lang/rust/pull/86696
* #87167
* #87210
I was *not* able to cherry-pick https://github.com/rust-lang/rust/pull/87390 as that didn't apply cleanly to the stable branch. `@GuillaumeGomez` `@notriddle` could it be possible to get a PR targeting `stable` backporting that fix?
Also, this **enables** incremental compilation on the stable channel.
r? `@Mark-Simulacrum`
cc `@rust-lang/release`
2021-07-26 14:42:30 +00:00
Guillaume Gomez
55f9bc09a6
Remove GUI tests for rust beta CI
2021-07-26 15:24:33 +02:00
bors
22bbbe80b2
Rustdoc accessibility: use real headers for doc items
...
Part of #87059
Partially reverts #84703
Heavily modified for beta backport needs.
2021-07-26 15:24:33 +02:00
Guillaume Gomez
963e820023
Update browser-ui-test package version
2021-07-26 14:05:56 +02:00
Michael Howell
1e01a14b0b
Fix test cases for header titles in sidebar
2021-07-26 13:14:54 +02:00
Michael Howell
e64f994099
Remove redundant CSS
2021-07-26 13:13:54 +02:00
Michael Howell
0a297ac47d
Rustdoc accessibility: make the sidebar headers actual headers
...
Part of #87059
Preview it at: https://notriddle.com/notriddle-rustdoc-test/rustdoc-sidebar-header/std/index.html
2021-07-26 13:13:42 +02:00
Guillaume Gomez
2818e74c38
Add test for sidebar display value on mobile
2021-07-26 12:46:04 +02:00
Guillaume Gomez
e722a08eb8
Do not hide the sidebar on mobile, move it outside of the viewport instead
2021-07-26 12:45:58 +02:00
Erin Power
26210a3558
update release notes to 1.54.0
2021-07-26 12:45:13 +02:00
Pietro Albini
49bcee8997
switch to the stable channel
2021-07-26 12:41:43 +02:00
bors
c8fb0b5be2
Auto merge of #87393 - michaelwoerister:backport-85834-and-86368, r=Mark-Simulacrum
...
Backport #85834 and #86368
As per discussion in https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/backport.20.2386368 , backporting #85834 too seems like the safest option for cleanly backporting #86368 .
r? `@Mark-Simulacrum`
2021-07-23 15:14:52 +00:00
Michael Woerister
741e208a06
Encode SourceFile source crate as StableCrateId in incr. comp. OnDiskCache.
2021-07-23 05:16:51 +02:00
Michael Woerister
68c3b0ee5b
Disambiguate between SourceFiles from different crates even if they have the same path.
2021-07-23 05:16:38 +02:00
Michael Woerister
99e5a3fe7e
Add regression test for #85955 .
2021-07-23 05:16:21 +02:00
Camille GILLOT
a773742b2d
Access stable_crate_id directly.
2021-07-23 05:14:48 +02:00
Camille GILLOT
8de2bd29da
Do not store crate in latest_foreign_def_path_hashes.
2021-07-23 05:14:06 +02:00
Camille GILLOT
7f9251cd50
Encode CrateNum using the StableCrateId for incr. comp.
2021-07-23 05:13:28 +02:00
bors
b95932895b
Auto merge of #87369 - pnkfelix:beta-targetted-revert-81473-warn-write-only-fields, r=Mark-Simulacrum
...
Beta targetted revert 81473 warn write only fields
beta backport of PR #86212
2021-07-23 00:03:20 +00:00
bors
ff4ca50993
Auto merge of #87374 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[beta] backports
Backports:
* Move assert_matches to an inner module #86947
* rename assert_matches module #87195
* Fix rust-analyzer install when not available. #87007
2021-07-22 21:22:25 +00:00
Eric Huss
c8b3431be1
Provide a better error when x.py install src/doc doesn't work.
2021-07-22 11:16:29 -04:00
Eric Huss
cc9284d21d
Add comments why install steps should never fail.
2021-07-22 11:16:28 -04:00
Eric Huss
ef7502b878
Fix rust-analyzer install when not available.
2021-07-22 11:16:28 -04:00
Jane Lusby
8fde11b208
i sweat to god
2021-07-22 11:14:43 -04:00
Jane Lusby
5142fa3e3a
pls this time
2021-07-22 11:14:43 -04:00
Jane Lusby
96941c7c12
fix ui tests
2021-07-22 11:14:43 -04:00
Jane Lusby
1b60ea8890
rename assert_matches module
2021-07-22 11:14:43 -04:00
Mara Bos
5dd09b0790
Move [debug_]assert_matches to mod {core, std}::assert.
2021-07-22 11:14:40 -04:00
Felix S. Klock II
e5413542ad
Allow some temporarily dead code.
...
I expect thi8s method to come back very soon; noise of removing them to satisfy lint seems wrong.
2021-07-22 09:47:17 -04:00
Felix S. Klock II
eb3eb22f5e
Revert PR 81473 to resolve (on mainline) issues 81626 and 81658.
...
Revert "Add missing brace"
This reverts commit 85ad773049 .
Revert "Simplify base_expr"
This reverts commit 899aae465e .
Revert "Warn write-only fields"
This reverts commit d3c69a4c0d .
2021-07-22 09:46:32 -04:00
bors
3a5d335d11
Auto merge of #87136 - cuviper:redo-86222, r=Mark-Simulacrum
...
[beta] Remove unsound TrustedRandomAccess implementations
This re-applies #86222 for 1.54, as the larger fixes in #85874 are still in progress.
2021-07-20 21:25:51 +00:00
Frank Steffahn
b1e90f9a8a
Remove unsound TrustedRandomAccess implementations
...
Removes the implementations that depend on the user-definable trait `Copy`.
Beta backport: Does not modify `vec::IntoIter`.
(cherry picked from commit 28ea358264 )
2021-07-14 12:00:09 -07:00
bors
0fa28ce074
Auto merge of #86821 - cuviper:beta-next, r=Mark-Simulacrum
...
[beta] backports
- rustfmt: load nested out-of-line mods correctly #86424
- Re-add support for parsing (and pretty-printing) inner-attributes in match body #85193
- Revert "List trait impls before methods from deref in the sidebar ..." #86564
- Revert "Don't load all extern crates unconditionally" #85749
r? `@Mark-Simulacrum`
2021-07-02 23:01:18 +00:00
Guillaume Gomez
d78e83ac50
Revert "Don't load all extern crates unconditionally"
...
(cherry picked from commit 5f0c54db4e )
2021-07-02 12:31:46 -07:00
Jacob Hoffman-Andrews
e6837ebf03
Revert "List trait impls before methods from deref in the sidebar of Rustdoc's output"
...
This reverts commit 8a058926ec .
(cherry picked from commit 093e246445 )
2021-07-02 12:19:39 -07:00
Felix S. Klock II
5b3a26655f
Updates to tests.
...
(cherry picked from commit 8ce761d75e )
2021-07-02 12:19:38 -07:00
Felix S. Klock II
3f94559a02
Re-add support for parsing (and pretty-printing) inner-attributes within body of a match.
...
In other words, we can do `match EXPR { #![inner_attr] ARM_1 ARM_2 ... }` again.
I believe this unbreaks the only four crates that crater flagged as broken by PR 83312.
(I am putting this up so that the lang-team can check it out and decide whether
it changes their mind about what to do regarding PR 83312.)
(cherry picked from commit 75d6293128 )
2021-07-02 12:19:38 -07:00
Caleb Cartwright
075fd9324e
fix(rustfmt): load nested out-of-line mods correctly
...
(cherry picked from commit d2f2237d31 )
2021-07-02 11:50:48 -07:00
bors
bf62f4de32
Auto merge of #86413 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[beta] Bootstrap from stable
This is the follow up to master/beta promotion, as well as the first round of backports:
* Revert "Allow specifying alignment for functions #81234 "
* Revert #85176 addition of clone_from for ManuallyDrop #85758
* rustdoc: revert deref recur to resume inclusion of impl ExtTrait<Local> for ExtType #84867
* [beta] Update cargo #86563
r? `@Mark-Simulacrum`
2021-06-23 15:46:24 +00:00
Mark Rousskov
c4aeccdf45
Ignore failures of RLS on aarch64 Windows
2021-06-23 11:46:02 -04:00
Mark Rousskov
680c6cea45
Bump expat to 2.4.1
2021-06-23 10:37:52 -04:00
Eric Huss
b36bc9e7e5
Comment and include rust-analyzer.
2021-06-23 10:18:58 -04:00
Eric Huss
c064a31206
Don't dist miri on stable or beta.
2021-06-23 10:18:57 -04:00
Eric Huss
84d831ef25
[beta] Update cargo
2021-06-22 20:49:34 -04:00
Mark Rousskov
793b0055d2
Disable pgo-branch-weights test on aarch64
...
This will let us produce a beta and investigate a proper fix on a longer
timescale.
2021-06-22 16:04:27 -04:00
Mark Rousskov
6affded132
Fix CI to fetch master on beta channel
2021-06-20 16:19:48 -04:00
Felix S. Klock II
86b2323629
regression test for issue 82465.
2021-06-19 10:27:44 -04:00
Felix S. Klock II
93d9ec726f
manually crafted revert of PR #80653 , to address issue #82465 .
...
(update: placated tidy)
(update: rebased post PR #84707 )
merge me
2021-06-19 10:27:44 -04:00
Peter Todd
c5b826502b
Revert #85176 addition of clone_from for ManuallyDrop
...
Forwarding `clone_from` to the inner value changes the observable
behavior, as previously the inner value would *not* be dropped by the
default implementation.
2021-06-19 10:27:44 -04:00
Mark Rousskov
f07bf3a428
Revert "Allow specifying alignment for functions"
...
This reverts commit 448d07683a .
2021-06-19 10:27:44 -04:00