| Age | Commit message (Collapse) | Author | Lines |
|
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`
|
|
|
|
|
|
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`
|
|
|
|
|
|
|
|
[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
|
|
|
|
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.)
|
|
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.
|
|
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`
|
|
rustdoc: Fix visibility of trait and impl items
Fixes #81274.
r? `@jyn514`
|
|
|
|
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``
|
|
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.
|
|
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`
|
|
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`
|
|
[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`
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Joshua Nelson <jyn514@gmail.com>
|
|
|
|
|
|
Co-authored-by: Joshua Nelson <jyn514@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The struct will allow to store more context on the generated tarballs.
|
|
Files in the temporary directory are used by ./x.py install.
|
|
|
|
|
|
|
|
|
|
|
|
[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`
|
|
|
|
[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)
|
|
|
|
[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`
|
|
|
|
[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
|