| Age | Commit message (Collapse) | Author | Lines |
|
[stable] 1.55.0 stable release
r? `@Mark-Simulacrum`
|
|
|
|
[beta] backports
This PR backports:
* Concrete regions can show up in mir borrowck if the originated from there #88533 (fixes #83190)
* Fix loading large rlibs #88506 (fixes #88351)
* Display associated types of implementors #88490 (fixes #86631)
* Tracking issue for UNSUPPORTED_CALLING_CONVENTIONS #88397
r? `@Mark-Simulacrum`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is kept to a separate commit so that the test itself is preserved in the
commit history.
|
|
Bumps object crate to permit parsing archives with 64-bit table entries. These
are primarily encountered when there's more than 4GB of archive data.
|
|
We used to not encounter them here, because we took regions from typeck's opaque type resolution by renumbering them. We don't do that anymore.
|
|
[beta] backports
This PR rolls up a number of beta backports:
* Split critical edge targeting the start block #88124
* Make BuildHasher object safe #88031
* Fix Windows Command::env("PATH") #87863
* Do not ICE on HIR based WF check when involving lifetimes #87811
* Update compiler_builtins to fix i128 shift/mul on thumbv6m #87633
|
|
Fixes #86063
|
|
Fix #87549.
|
|
|
|
|
|
|
|
|
|
[beta] Update cargo
2 commits in 1f76a218bc7f326606dda811b58c42b7e1e21168..32da73ab19417aa89686e1d85c1440b72fdf877d
2021-07-29 22:22:25 +0000 to 2021-08-23 18:16:08 +0000
- [beta] Move `tmp` test directory. (rust-lang/cargo#9819)
- [beta] Bump curl (rust-lang/cargo#9810)
|
|
|
|
Backport PR 87483
Backport of PR #87483: "Mir borrowck does not generate lifetime variables for 'static lifetimes during opaque type resolution"
Fix #87455: "ICE: unexpected concrete region in borrowck: ReStatic"
|
|
during opaque type resolution.
|
|
[beta] Backport renaming of lints
Backport renaming of 2 lints that were "wrongly" named. This is so that we don't have to go through the lint renaming process, if those lints would hit stable like this.
|
|
|
|
[beta] Update cargo
2 commits in d21c22870e58499d6c31f1bef3bf1255eb021666..1f76a218bc7f326606dda811b58c42b7e1e21168
2021-07-26 20:23:21 +0000 to 2021-07-29 22:22:25 +0000
- [beta] Backport cargo-util version fix (rust-lang/cargo#9746)
- [Beta] backport version string fix (rust-lang/cargo#9734)
|
|
|
|
[beta] Bump bootstrap compiler
r? `@Mark-Simulacrum`
|
|
|
|
[beta] Backport: Rename two lints to comply with our lint naming convention
self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain
changelog: none
r? `@ghost`
|
|
self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain
|
|
Prepare beta 1.55.0
Included backports:
* https://github.com/rust-lang/rust/pull/86696
* https://github.com/rust-lang/rust/pull/87390 (squashed)
Reverted:
* #86623
cc `@rust-lang/release` `@Mark-Simulacrum`
|
|
|
|
even if not emitted"
This reverts commit 13bdc5c2be5a4a1490a2c777580cd9ad7a097343.
|
|
This reverts commit d6962ffb31d2f06081511884291fa163961a98e6.
|
|
Part of #87059
Partially reverts #84703
Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
|
|
|
|
|
|
Simplify the collecting of `? Trait` bounds in where clause
This PR fixes the FIXME about using less rightward drift and only one error reporting when collecting of `?Trait` bounds in where clause.
Checking whether the path length of `bound_ty` is 1 can be replaced by whether `unresolved_segments` in the partial_res is 0.
Checking whether the `param.kind` is `Type{...}` can also be omitted. One Fx hash calculation will be done for Const or Lifetime param, but the impact on efficiency should be small IMO
|
|
Improve `get_by_key_enumerated` more
Follow-up of #86392, this applies the suggestions by `@m-ou-se.`
r? `@m-ou-se`
|
|
Rollup of 14 pull requests
Successful merges:
- #86410 (VecMap::get_value_matching should return just one element)
- #86790 (Document iteration order of `retain` functions)
- #87171 (Remove Option from BufWriter)
- #87175 (Stabilize `into_parts()` and `into_error()`)
- #87185 (Fix panics on Windows when the build was cancelled)
- #87191 (Package LLVM libs for the target rather than the build host)
- #87255 (better support for running libcore tests with Miri)
- #87266 (Add testcase for 87076)
- #87283 (Add `--codegen-backends=foo,bar` configure flag)
- #87322 (fix: clarify suggestion that `&T` must refer to `T: Sync` for `&T: Send`)
- #87358 (Fix `--dry-run` when download-ci-llvm is set)
- #87380 (Don't default to `submodules = true` unless the rust repo has a .git directory)
- #87398 (Add test for fonts used for module items)
- #87412 (Add missing article)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
|
|
Add missing article
Redo of #87305. I messed up in that PR and wasn't sure how to fix it.
|
|
Add test for fonts used for module items
Fixes #85632.
r? `@notriddle`
|
|
Don't default to `submodules = true` unless the rust repo has a .git directory
Should hopefully fix https://github.com/rust-lang/rust/pull/82653#issuecomment-885093033 - `@semarie` can you confirm?
r? `@Mark-Simulacrum`
|
|
Fix `--dry-run` when download-ci-llvm is set
Previously it would error out:
```
$ x check --dry-run
thread 'main' panicked at 'std::fs::read_to_string(ci_llvm.join("link-type.txt")) failed with No such file or directory (os error 2) ("CI llvm missing: /home/joshua/rustc3/build/tmp-dry-run/x86_64-unknown-linux-gnu/ci-llvm")', src/bootstrap/config.rs:795:33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:10
```
|
|
fix: clarify suggestion that `&T` must refer to `T: Sync` for `&T: Send`
### Description
- [x] fix #86507
- [x] add UI test for relevant code from issue
- [x] change `rustc_trait_selection/src/traits/error_reporting/suggestions.rs` to include a more clear suggestion when `&T` fails to satisfy `Send` bounds due to the fact that `T` fails to implement `Sync`
- [x] update UI test in Clippy: `src/tools/tests/ui/future_not_send.stderr`
|
|
r=Mark-Simulacrum
Add `--codegen-backends=foo,bar` configure flag
Unfortunately this requires a proper `./configure` flag, as the codegen backends config entry is a list, not a string (breaking `--set`).
|
|
Add testcase for 87076
Closes #87076
I also moved the issue tests into the issues subfolder, nothing changed there.
|
|
better support for running libcore tests with Miri
See https://github.com/rust-lang/miri-test-libstd/issues/4 for a description of the problem that this fixes.
Thanks to `@hyd-dev` for suggesting this patch!
|
|
Package LLVM libs for the target rather than the build host
Fixes https://github.com/rust-lang/rust/issues/85250
`dist.rs` uses, in the `rust-dev` stage, `llvm-config --libfiles` to get a list of the LLVM library files built but of course only for the build host. If the target differs we want to package lib files from the target's build tree instead. This is done by splitting/rejoining the paths on their build directories.
At the moment `tree` on the LLVM build directories seems to give almost identical output, but of course this might not be the case in the future. If a file is missing in the target's build tree then this stage will error in the `builder.install()` call. If the target build tree has an extra file then it silently won't be copied and we'll get a linker error when building using this artifact (via `download-ci-llvm = "if-available"`), though we would have received a linker error anyway without this change.
There was also a typo in the example config around this option.
|