summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2021-09-06Auto merge of #88695 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.55.0bors-11/+142
[stable] 1.55.0 stable release r? `@Mark-Simulacrum`
2021-09-061.55.0 stable releaseMark Rousskov-11/+142
2021-09-04Auto merge of #88641 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-70/+124
[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`
2021-09-04Tracking issue for UNSUPPORTED_CALLING_CONVENTIONSSimonas Kazlauskas-5/+5
2021-09-04Remove implementors settingGuillaume Gomez-16/+1
2021-09-04Clean render_impl argumentsGuillaume Gomez-46/+67
2021-09-04Add tests for implementors associated types displayGuillaume Gomez-12/+40
2021-09-04Put back "auto-collapse-implementors" settingGuillaume Gomez-0/+6
2021-09-04Put back display of associated items (types and consts)Guillaume Gomez-11/+33
2021-09-04Delete long-running large rlibs testMark Rousskov-76/+0
This is kept to a separate commit so that the test itself is preserved in the commit history.
2021-09-04Fix loading large rlibsMark Rousskov-6/+82
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.
2021-09-04Concrete regions can show up in mir borrowck if the originated from there.Oli Scherer-9/+1
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.
2021-08-28Auto merge of #88400 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-17/+131
[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
2021-08-27Update compiler_builtins to fix i128 shift/mul on thumbv6mAmanieu d'Antras-2/+2
Fixes #86063
2021-08-27Do not ICE on HIR based WF check when involving lifetimesEsteban Küber-3/+49
Fix #87549.
2021-08-27Fix Windows Command::env("PATH")Chris Denton-9/+30
2021-08-27move object safety test to library/coreibraheemdev-11/+8
2021-08-27make `BuildHasher` object safeibraheemdev-1/+14
2021-08-27Split critical edge targeting the start blockTomasz Miąsko-1/+38
2021-08-27Auto merge of #88279 - ehuss:update-beta-cargo, r=ehussbors-2/+2
[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)
2021-08-23[beta] Update cargoEric Huss-2/+2
2021-08-21Auto merge of #88190 - pnkfelix:backport-87483, r=Mark-Simulacrumbors-0/+74
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"
2021-08-20Mir borrowck does not generate lifetime variables for 'static lifetimes ↵Oli Scherer-0/+74
during opaque type resolution.
2021-08-12Auto merge of #87962 - flip1995:clippy_backport, r=Mark-Simulacrumbors-34/+34
[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.
2021-08-12Merge commit '74d1561353660104d5b1d245f9a61c11c2df0f89' into clippy_backportflip1995-34/+34
2021-07-31Auto merge of #87571 - ehuss:update-beta-cargo, r=ehussbors-1/+1
[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)
2021-07-29[beta] Update cargoEric Huss-1/+1
2021-07-29Auto merge of #87588 - pietroalbini:stage0-dev, r=Mark-Simulacrumbors-2/+2
[beta] Bump bootstrap compiler r? `@Mark-Simulacrum`
2021-07-29remove dev:1 from stage0.txtPietro Albini-2/+2
2021-07-29Auto merge of #7505 - flip1995:beta, r=flip1995bors-34/+34
[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`
2021-07-29Rename two lints to comply with our lint naming conventionflip1995-34/+34
self_named_constructor -> self_named_constructors append_instead_of_extend -> extend_with_drain
2021-07-28Auto merge of #87508 - pietroalbini:beta-next, r=Mark-Simulacrumbors-280/+403
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`
2021-07-28add CI_ONLY_WHEN_CHANNEL and run x86_64-gnu-stable only on nightlyPietro Albini-25/+42
2021-07-28Revert "Add check to ensure error code explanations are not removed anymore ↵Pietro Albini-22/+0
even if not emitted" This reverts commit 13bdc5c2be5a4a1490a2c777580cd9ad7a097343.
2021-07-28Revert "Only run error code explanation removal check if on CI"Pietro Albini-13/+4
This reverts commit d6962ffb31d2f06081511884291fa163961a98e6.
2021-07-27Rustdoc accessibility: use real headers for doc itemsbors-218/+231
Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
2021-07-27backport release notesErin Power-1/+125
2021-07-27this is now 1.55 betaPietro Albini-5/+5
2021-07-24Auto merge of #87338 - SparrowLii:MaybeTrait, r=wesleywiserbors-33/+17
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
2021-07-23Auto merge of #86429 - JohnTitor:get-by-key-enum-part-2, r=oli-obkbors-50/+24
Improve `get_by_key_enumerated` more Follow-up of #86392, this applies the suggestions by `@m-ou-se.` r? `@m-ou-se`
2021-07-23Auto merge of #87413 - JohnTitor:rollup-dht22jk, r=JohnTitorbors-44/+213
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
2021-07-24Rollup merge of #87412 - r00ster91:patch-13, r=Mark-SimulacrumYuki Okushi-1/+1
Add missing article Redo of #87305. I messed up in that PR and wasn't sure how to fix it.
2021-07-24Rollup merge of #87398 - GuillaumeGomez:test-font-module-items, r=notriddleYuki Okushi-0/+4
Add test for fonts used for module items Fixes #85632. r? `@notriddle`
2021-07-24Rollup merge of #87380 - jyn514:smarter-submodule-defaults, r=Mark-SimulacrumYuki Okushi-5/+10
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`
2021-07-24Rollup merge of #87358 - jyn514:dry-run, r=Mark-SimulacrumYuki Okushi-2/+10
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 ```
2021-07-24Rollup merge of #87322 - chazkiker2:fix/suggestion-ref-sync-send, r=estebankYuki Okushi-7/+80
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`
2021-07-24Rollup merge of #87283 - pietroalbini:configure-codegen-backends, ↵Yuki Okushi-0/+3
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`).
2021-07-24Rollup merge of #87266 - hellow554:issue87076, r=Mark-SimulacrumYuki Okushi-0/+20
Add testcase for 87076 Closes #87076 I also moved the issue tests into the issues subfolder, nothing changed there.
2021-07-24Rollup merge of #87255 - RalfJung:miri-test-libcore, r=Mark-SimulacrumYuki Okushi-0/+8
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!
2021-07-24Rollup merge of #87191 - adamgemmell:dev/llvm-lib-package, r=Mark-SimulacrumYuki Okushi-2/+10
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.