summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2021-09-061.55.0 stable releaseMark Rousskov-1/+1
2021-09-04Tracking issue for UNSUPPORTED_CALLING_CONVENTIONSSimonas Kazlauskas-4/+4
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-0/+76
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-08-28Auto merge of #88400 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-0/+80
[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-27Do not ICE on HIR based WF check when involving lifetimesEsteban Küber-0/+45
Fix #87549.
2021-08-27move object safety test to library/coreibraheemdev-10/+0
2021-08-27make `BuildHasher` object safeibraheemdev-0/+10
2021-08-27Split critical edge targeting the start blockTomasz Miąsko-0/+35
2021-08-23[beta] Update cargoEric Huss-0/+0
2021-08-20Mir borrowck does not generate lifetime variables for 'static lifetimes ↵Oli Scherer-0/+73
during opaque type resolution.
2021-08-12Merge commit '74d1561353660104d5b1d245f9a61c11c2df0f89' into clippy_backportflip1995-34/+34
2021-07-31Auto merge of #87571 - ehuss:update-beta-cargo, r=ehussbors-0/+0
[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-0/+0
2021-07-29remove dev:1 from stage0.txtPietro Albini-2/+2
2021-07-28add CI_ONLY_WHEN_CHANNEL and run x86_64-gnu-stable only on nightlyPietro Albini-25/+41
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-27this is now 1.55 betaPietro Albini-5/+5
2021-07-23Auto merge of #87413 - JohnTitor:rollup-dht22jk, r=JohnTitorbors-17/+121
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-2/+50
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 #87191 - adamgemmell:dev/llvm-lib-package, r=Mark-SimulacrumYuki Okushi-1/+9
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.
2021-07-24Rollup merge of #87185 - waterlens:issue-86499-fix, r=Mark-SimulacrumYuki Okushi-6/+14
Fix panics on Windows when the build was cancelled Fixes #86499 cc `@jyn514`
2021-07-23update clippy ui test 'future_not_send.stderr' to matchchaz-kiker-2/+2
the new diagnostic messages
2021-07-23Auto merge of #87345 - Xanewok:update-rls, r=Mark-Simulacrumbors-16/+18
Unbreak and update RLS Closes #86905 Closes #86606 Closes #86607 This also prunes old mio 0.6 thanks to Tokio 1.0 bump, so this should now build on aarch64 Windows. r? `@Mark-Simulacrum`
2021-07-23Add missing articler00ster-1/+1
2021-07-23Add missing winapi feature to workspace hackMark Rousskov-1/+9
2021-07-23Rollup merge of #87383 - Alexendoo:impl_trait_in_bindings-tests, r=oli-obkYuki Okushi-0/+221
Add regression tests for the impl_trait_in_bindings ICEs Closes #54600, closes #54840, closes #58504, closes #58956, closes #70971, closes #79099, closes #84919, closes #86201, closes #86642, closes #87295 r? ``@oli-obk``
2021-07-23Rollup merge of #87376 - Thomasdezeeuw:rustdoc-large-logo, r=GuillaumeGomezYuki Okushi-0/+1
Change rustdoc logo to use the full container size We have a logo in svg that scales nicely to large sizes, but by default is only 5px large, i.e. very small. With the change the logo expands to the full size. By only setting the height to 100% we ensure that the width-height ratio isn't changed.
2021-07-23Rollup merge of #87373 - Aaron1011:hir-wf-field, r=estebankYuki Okushi-8/+8
Extend HIR WF checking to fields r? ``@estebank``
2021-07-23Rollup merge of #87372 - GuillaumeGomez:move-test_main-calls, r=jyn514Yuki Okushi-15/+20
Move calls to test_main into one function Fixes #86254. cc ``@jyn514`` r? ``@camelid``
2021-07-23Rollup merge of #87362 - inquisitivecrystal:bootstrap-doc, r=jyn514Yuki Okushi-4/+5
Make `x.py d` an alias for `x.py doc` In rust-lang/cargo#9680, `d` was added to Cargo as an alias for `doc`. This PR adds the same alias to `x.py`. The same considerations of convenience that applied to Cargo also apply to `x.py`, and in any case, the two should be kept symmetrical.
2021-07-23Rollup merge of #87332 - camelid:dont-hide-fields, r=GuillaumeGomezYuki Okushi-9/+4
Don't hide fields of enum struct variants * The toggle adds visual clutter * It's easy to miss that there are fields * Tuple variant fields are always shown, so it is inconsistent to hide struct variant fields * It's annoying to have to click the toggle every time
2021-07-23Rollup merge of #87298 - boringcactus:patch-2, r=steveklabnikYuki Okushi-0/+3
memorialize Anna Harren in the bastion of the turbofish this seems fitting, at least to me.
2021-07-23Add test for fonts used for module itemsGuillaume Gomez-0/+4
2021-07-23Auto merge of #87287 - oli-obk:fixup_fixup_fixup_opaque_types, r=spastorinobors-194/+136
Make mir borrowck's use of opaque types independent of the typeck query's result fixes #87218 fixes #86465 we used to use the typeck results only to generate an obligation for the mir borrowck type to be equal to the typeck result. When i removed the `fixup_opaque_types` function in #87200, I exposed a bug that showed that mir borrowck can't doesn't get enough information from typeck in order to build the correct lifetime mapping from opaque type usage to the actual concrete type. We therefor now fully compute the information within mir borrowck (we already did that, but we only used it to verify the typeck result) and stop using the typeck information. We will likely be able to remove most opaque type information from the borrowck results in the future and just have all current callers use the mir borrowck result instead. r? `@spastorino`
2021-07-22Squash all commits.chaz-kiker-0/+48
add test for issue 86507 add stderr for issue 86507 update issue-86507 UI test add comment for the expected error in UI test file add proper 'refers to <ref_type>' in suggestion update diagnostic phrasing; update test to match new phrasing; re-organize logic for checking T: Sync evaluate additional obligation to figure out if T is Sync run './x.py test tidy --bless' incorporate changes from review; reorganize logic for readability
2021-07-22Don't hide fields of enum struct variantsNoah Lev-9/+4
* The toggle adds visual clutter * It's easy to miss that there are fields * Tuple variant fields are always shown, so it is inconsistent to hide struct variant fields * It's annoying to have to click the toggle every time