| Age | Commit message (Collapse) | Author | Lines |
|
This reverts commit 5599636b21d3705dc695fc2c7945ee4dc942dec0.
|
|
[beta] Beta next
|
|
|
|
|
|
|
|
|
|
|
|
ADTs are translated in-place from rustc_trans::callee, so no trans-items
are needed.
This fix will be superseded by the shimmir branch, but I prefer not to
backport that to beta.
Fixes #39823.
|
|
|
|
Fix #40221 and add unittest.
|
|
|
|
Beta backport of #40254
|
|
|
|
[beta] next
- https://github.com/rust-lang/rust/pull/39913
- https://github.com/rust-lang/rust/pull/39730
- https://github.com/rust-lang/rust/pull/39674
- https://github.com/rust-lang/rust/pull/39602
- https://github.com/rust-lang/rust/pull/39586
- https://github.com/rust-lang/rust/pull/39471
- #39980
- #40020
- https://github.com/rust-lang/rust/pull/40135
@nikomatsakis [this commit](https://github.com/rust-lang/rust/commit/3787d33889cf16887cf791c0cc14466950ac14b1) did not pick cleanly. You might peek at it.
I took the liberty of accepting all the nominations myself, but the [packed struct alignment](https://github.com/rust-lang/rust/pull/39586) PR is quite large. It did pick fine though and there's a comment there suggesting it works on beta cc @rust-lang/compiler.
cc @alexcrichton
|
|
PRs can't land againt beta right now because the android bot is filling up on
disk space. I don't really know what's going on but the android bot is the
longest one to run anyway so it'll benefit from being split up regardless.
|
|
Add the `?Sized` bound as we don't require the type to be sized.
Closes #40011
|
|
This is a [breaking-change] from 1.15, because this used to compile:
```Rust
enum Void {}
fn foo(x: &Void) {
match x {}
}
```
|
|
Fixes #38972.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The function was a footgun because it created `undef` references to
ZSTs, which could cause trouble were they to leak to user code.
|
|
|
|
According to the LLVM reference:
> A value of 0 or an omitted align argument means that the operation has
the ABI alignment for the target.
So loads/stores of fields of packed structs need to have their align set
to 1. Implement that by tracking the alignment of `LvalueRef`s.
Fixes #39376.
|
|
|
|
|
|
|
|
|
|
|
|
These are some samples that I have been focusing on improving over
time. In this PR, I mainly want to stem the bleeding where we in some
cases we show an error that gives you no possible way to divine the
problem.
|
|
[beta] Another round of backporting PRs to beta
This is a backport of the following PRs:
* https://github.com/rust-lang/rust/pull/39622
* https://github.com/rust-lang/rust/pull/39630
* https://github.com/rust-lang/rust/pull/39660
* https://github.com/rust-lang/rust/pull/39676
|
|
|
|
The previous fix contained an error where `toml::encode` returned a runtime
error, so this version just constructs a literal `toml::Value`.
|
|
Right now we just run `shasum` on an absolute path but right now the shasum
files only include filenames, so let's use `current_dir` and just the file name
to only have the file name emitted.
|
|
The current manifests encode this with a dash in the name, so we should preserve
that!
|
|
Prevents stale artifacts from sticking around by accident!
|
|
[beta] Backporting PRs to beta
This is a backport of the following PRs:
* https://github.com/rust-lang/rust/pull/39478
* https://github.com/rust-lang/rust/pull/39509
* https://github.com/rust-lang/rust/pull/39517
* https://github.com/rust-lang/rust/pull/39526
* https://github.com/rust-lang/rust/pull/39599
* https://github.com/rust-lang/rust/pull/39624
* https://github.com/rust-lang/rust/pull/39710
|
|
[beta] Update bootstrap compiler to 1.15.1
|
|
[beta] Fix a manifest-generation bug on beta
This is a beta backport of https://github.com/rust-lang/rust/pull/39599
|
|
|
|
|
|
Right now all Cargo release tarballs are 'nightly', they're not on the standard
channels yet.
|
|
|
|
|
|
|
|
I already checked this into stable, but it needs to be on master/beta too.
|
|
|