summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2021-02-10Auto merge of #81963 - pietroalbini:stable-1.50.0-pre2, r=pietroalbini 1.50.0bors-3/+6
Rebuild 1.50.0 stable This PR rebuilds the 1.50.0 stable release with the following backport: * bootstrap: Locate llvm-dwp based on llvm-config bindir #81955 cc `@rust-lang/release`
2021-02-10bootstrap: fix wrong docs installation pathPietro Albini-1/+1
2021-02-10bootstrap: Locate llvm-dwp based on llvm-config bindirDavid Tolnay-2/+5
2021-02-08Auto merge of #81878 - pietroalbini:stable-1.50.0, r=pietroalbinibors-11/+276
Rust 1.50.0 stable release This PR builds the artifacts for the 1.50.0 stable release, and: * Cherry-picks e4e460ba7a48521c542f0a22b30ff6acbdd723db to fix https://github.com/rust-lang/rust/issues/81208, as recommended in https://github.com/rust-lang/rust/pull/81337#issuecomment-774694526. * Backports the release notes of 1.49.0 and 1.50.0. r? `@ghost` cc `@rust-lang/release`
2021-02-08this is 1.50.0 stablePietro Albini-1/+1
2021-02-08lexer: Avoid some span arithmetic in `emit_unescape_error`Vadim Petrochenkov-7/+26
2021-02-08backport release notes from masterPietro Albini-3/+249
2021-02-06Auto merge of #81774 - ehuss:beta-backports, r=ehussbors-11132/+11620
[beta] backports This backports: * CI: only copy python.exe to python3.exe if the latter does not exist #81762 * Make hitting the recursion limit in projection non-fatal #81055 * Remove incorrect `delay_span_bug` #81532 * introduce future-compatibility warning for forbidden lint groups #81556 * Update cargo #81755 * rustdoc: Fix visibility of trait and impl items #81288 * Work around missing -dev packages in solaris docker image. #81229 * Update LayoutError/LayoutErr stability attributes #81767 * Revert 78373 ("dont leak return value after panic in drop") #81257 * Rename `panic_fmt` lint to `non_fmt_panic` #81729
2021-02-05Rename `panic_fmt` lint to `non_fmt_panic`.Mara Bos-8/+9
2021-02-05Auto merge of #81257 - ↵bors-11043/+10904
pnkfelix:issue-80949-short-term-resolution-via-revert-of-pr-78373, r=matthewjasper Revert 78373 ("dont leak return value after panic in drop") Short term resolution for issue #80949. Reopen #47949 after this lands. (We plan to fine-tune PR #78373 to not run into this problem.)
2021-02-05Rollup merge of #81767 - exrook:layout-error-stability, r=Mark-SimulacrumMara Bos-4/+4
Update LayoutError/LayoutErr stability attributes `LayoutError` ended up not making it into 1.49.0, updating the stability attributes to reflect that. I also pushed `LayoutErr` deprecation back a release to allow 2 releases before the deprecation comes into effect. This change should be backported to beta.
2021-02-05Auto merge of #81229 - m-ou-se:solaris-workaround, r=pietroalbinibors-5/+13
Work around missing -dev packages in solaris docker image. This should hopefully make the `dist-various-2` docker build work again on CI, which is now blocking everything from getting merged. r? `@pietroalbini`
2021-02-04Rollup merge of #81288 - camelid:fix-trait-item-vis, r=jyn514Jonas Schievink-2/+51
rustdoc: Fix visibility of trait and impl items Fixes #81274. r? `@jyn514`
2021-02-04[beta] Update cargoEric Huss-0/+0
2021-02-04Rollup merge of #81556 - nikomatsakis:forbidden-lint-groups-lint, r=pnkfelixMara Bos-55/+553
introduce future-compatibility warning for forbidden lint groups We used to ignore `forbid(group)` scenarios completely. This changed in #78864, but that led to a number of regressions (#80988, #81218). This PR introduces a future compatibility warning for the case where a group is forbidden but then an individual lint within that group is allowed. We now issue a FCW when we see the "allow", but permit it to take effect. r? ``@Mark-Simulacrum``
2021-02-04Rollup merge of #81532 - estebank:ice-ice-baby, r=pnkfelixMara Bos-1/+20
Remove incorrect `delay_span_bug` The following code is supposed to compile ```rust use std::ops::BitOr; pub trait IntWrapper { type InternalStorage; } impl<T> BitOr for dyn IntWrapper<InternalStorage = T> where Self: Sized, T: BitOr + BitOr<Output = T>, { type Output = Self; fn bitor(self, _other: Self) -> Self { todo!() } } ``` Before this change it would ICE. In #70998 the removed logic was added to provide better suggestions, and the `delay_span_bug` guard was added to protect against a potential logic error when returning traits. As it happens, there are cases, like the one above, where traits can indeed be returned, so valid code was being rejected. Fix (but not close) #80207.
2021-02-04Auto merge of #81055 - matthewjasper:non-fatal-overflow, r=nikomatsakisbors-13/+63
Make hitting the recursion limit in projection non-fatal This change was originally made in #80246 to avoid future (effectively) infinite loop bugs in projections, but wundergraph relies on rustc recovering here. cc #80953 r? `@nikomatsakis`
2021-02-04Auto merge of #81762 - pietroalbini:fix-install-msys2, r=m-ou-sebors-1/+3
CI: only copy python.exe to python3.exe if the latter does not exist We're copying the binary to make sure we can call `python3.exe` around, but it seems like the base image of GitHub Actions changed, copying the file before we do so. This PR changes the CI script to only copy the file if it doesn't already exist. r? `@m-ou-se` cc `@Mark-Simulacrum`
2021-01-20Auto merge of #81151 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-304/+301
[beta] backports This backports: * Update RLS and Rustfmt #81027 * bump rustfmt to v1.4.32 #81093 * Fix handling of malicious Readers in read_to_end #80895 * Fix broken ./x.py install #80514 * Fix x.py install not working with relative prefix #80797 * [security] Update mdbook #80688 * rustdoc: Render visibilities succinctly #80368 r? `@ghost`
2021-01-20Add `@!has` checks to ensure private items don't have `pub`Camelid-0/+4
2021-01-20Add FIXME for visibility of a moduleCamelid-0/+3
2021-01-20Add note on panic behaviorCamelid-0/+2
2021-01-20Small refactorCamelid-4/+3
2021-01-20Remove FIXMECamelid-1/+0
Co-authored-by: Joshua Nelson <jyn514@gmail.com>
2021-01-20Update `find_nearest_parent_module`Camelid-12/+15
2021-01-20Extract local variableCamelid-8/+4
2021-01-20Simplify loop and remove old debugging codeCamelid-14/+5
Co-authored-by: Joshua Nelson <jyn514@gmail.com>
2021-01-20Add missing code to `find_closest_parent_module`Camelid-25/+25
2021-01-20Merge `pub-restricted` and `visibility` testCamelid-39/+34
2021-01-20Prefer `pub(crate)` over no modifierCamelid-8/+8
2021-01-20Handle `pub(super)`Camelid-1/+9
2021-01-20Fix bugs; fix and add testsCamelid-87/+110
2021-01-20rustdoc: Render visibilities succinctlyCamelid-22/+38
2021-01-20Update mdbookEric Huss-3/+3
2021-01-20bootstrap: fix x.py install not working with relative prefixPietro Albini-55/+44
2021-01-20bootstrap: use the correct paths during ./x.py installPietro Albini-81/+45
2021-01-20bootstrap: change the dist outputs to GeneratedTarballPietro Albini-48/+64
The struct will allow to store more context on the generated tarballs.
2021-01-20bootstrap: never delete the tarball temporary directoryPietro Albini-9/+3
Files in the temporary directory are used by ./x.py install.
2021-01-20bootstrap: extract from any compression algorithm during distcheckPietro Albini-5/+2
2021-01-20clarify docs a bitSteven Fackler-4/+3
2021-01-20make check a bit more clearSteven Fackler-2/+3
2021-01-20clean up control flowSteven Fackler-11/+2
2021-01-20Fix handling of malicious Readers in read_to_endSteven Fackler-1/+8
2021-01-20Auto merge of #81201 - calebcartwright:beta, r=Mark-Simulacrumbors-6/+0
[beta] update RLS and rustfmt with backported rustfmt fix Refs https://github.com/rust-lang/rust/pull/81151#issuecomment-761949761 r? `@Mark-Simulacrum` cc `@Xanewok`
2021-01-19update RLS and rustfmtCaleb Cartwright-6/+0
2021-01-14Auto merge of #80975 - ehuss:update-beta-cargo, r=Mark-Simulacrumbors-0/+0
[beta] Update cargo 1 commits in 75d5d8cffe3464631f82dcd3c470b78dc1dda8bb..1a8df6a5196e4cad9a3956867e7e928f2bfaaba4 2020-12-22 18:10:56 +0000 to 2021-01-12 20:10:42 +0000 - [BETA] Fix `links` vars showing up for testing packages (rust-lang/cargo#9068)
2021-01-12[beta] Update cargoEric Huss-0/+0
2021-01-05Auto merge of #80680 - flip1995:clippy_backport, r=Mark-Simulacrumbors-119/+85
[beta] Clippy backport field_reassign_with_default fix cc `@ebroto` `@Manishearth` We had multiple complaints about this lint landing in stable 1.49 with a FP hit quite often in real world code. We want to backport the fix for this, so it already gets into 1.50. A stable backport is not warranted by this IMO. r? `@Mark-Simulacrum`
2021-01-04Merge commit '4bd77a19f39165fe9b8be2f7271d4197bd4f42eb' into betaflip1995-119/+85
2021-01-03Auto merge of #6537 - flip1995:beta, r=ebrotobors-119/+85
[beta] Backport of #6375 - field_reassign_with_default fix With the pinned nightly we can test backports to our beta branch now :tada: cc #6515 changelog: beta 1.50: Backport of private fields fix in [`field_reassign_with_default`] lints