| Age | Commit message (Collapse) | Author | Lines |
|
Prepare 1.18.0 stable release artifacts
These'll upload to dev first and we'll promote them to stable later this week
when we actually do the release.
|
|
These'll upload to dev first and we'll promote them to stable later this week
when we actually do the release.
|
|
[beta] Updated releases notes for 1.18
- https://github.com/rust-lang/rust/pull/41953
|
|
[beta] Fix regression in `macro_rules!` name matching.
This is a backport of https://github.com/rust-lang/rust/pull/42005
|
|
|
|
|
|
[beta] Bump prerelease version
|
|
[beta] box large variants in MIR
Beta backport of #41926.
Operand: 72 -> 24 B
Statement: 192 -> 96 B
Terminator: 256 -> 112 B
librustc translation memory usage: 1795 -> 1669 MB
next step would be interning lvalues, I suppose?
|
|
|
|
|
|
Operand: 72 -> 24 B
Statement: 192 -> 96 B
Terminator: 256 -> 112 B
librustc translation memory usage: 1795 -> 1669 MB
next step would be interning lvalues, I suppose?
|
|
Beta backports
Backports of:
- #41913 (or some of it)
- #41937
- #41716
- #41563
|
|
Fixes #40417
|
|
Fixes #41849. Problem was that evaluating the constant expression
required evaluating a trait, which would equate types, which would
request variance information, which it would then discard. However,
computing the variance information would require determining the type of
a field, which would evaluate the constant expression.
(This problem will potentially arise *later* as we move to more sophisticated
constants, however, where we need to check subtyping. We can tackle that
when we come to it.)
|
|
This seems both to be a safe, conservative choice,
and it sidesteps the cycle in #41936.
Fixes #41936.
|
|
The new messages seem universally better. I think these result because
we recognize that we are in an invariant context more often.
|
|
|
|
|
|
[beta] backports
- https://github.com/rust-lang/rust/pull/42006
- https://github.com/rust-lang/rust/pull/41904
Bumps the version so we get a new beta.
@sfackler libs backports here
@nikomatsakis there are several other nominated PRs that don't cherry-pick cleanly: https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3Abeta-nominated+is%3Aclosed. Can you take a look or recruit someone else to?
r? @alexcrichton
|
|
|
|
Closes #38863
Closes #38980
Closes #38903
Closes #36648
|
|
|
|
Beta backport various arielb1 patches
Backport of the following PRs:
- https://github.com/rust-lang/rust/pull/41651
- https://github.com/rust-lang/rust/pull/41828
cc @arielb1 @rust-lang/compiler
|
|
Hopefully this is the last PR needed.
Fixes #41726.
Fixes #41742.
Fixes #41774.
|
|
Fixes #41604.
|
|
[beta] Update cargo submodule
This pulls in a fix for #41797 to the beta branch, and the relevant PR for Cargo
is rust-lang/cargo#4046
Closes #41797
|
|
This pulls in a fix for #41797 to the beta branch, and the relevant PR for Cargo
is rust-lang/cargo#4046
Closes #41797
|
|
[beta] Bump beta to .2
Forgot to do this yesterday.
r? @alexcrichton
|
|
|
|
[beta] backports
- https://github.com/rust-lang/rust/pull/41666
- https://github.com/rust-lang/rust/pull/41578
- https://github.com/rust-lang/rust/pull/41548
- https://github.com/rust-lang/rust/pull/41529
r? @alexcrichton
|
|
|
|
Some accesses in OperandPairs were missing. Fixes #41479.
|
|
|
|
`try_index_step` does not resolve type variables by itself and would
fail otherwise. Also harden the failure path in `confirm` to cause less
confusing errors.
|
|
I compiled this on PPC to check and it seems to work, but not sure whether I didn't mess up
anything in a major way.
Maybe a good shot at #41443
|
|
[beta] Bootstrap beta from the real stable compiler
Routine update from the dev-static urls to the static urls, updating dates as
well. Should be the same artifacts.
|
|
Routine update from the dev-static urls to the static urls, updating dates as
well. Should be the same artifacts.
|
|
[beta] Prepare the 1.18.0 beta release
* Update the cargo submodule
* Update the stage0 bootstrap compiler, temporarily downloading it from
dev-static.rust-lang.org until it's released this Thursday.
* Update release channel being compiled to beta
* Disable the RLS release (will only happen on this one beta release)
|
|
* Update the cargo submodule
* Update the stage0 bootstrap compiler, temporarily downloading it from
dev-static.rust-lang.org until it's released this Thursday.
* Update release channel being compiled to beta
* Disable the RLS release (will only happen on this one beta release)
|
|
Add more explanation on RefCell::get_mut
Fixes #40203.
r? @rust-lang/docs
|
|
|
|
r=eddyb
Associated consts are not object safe.
fixes #26847
r? @eddyb
|
|
|
|
|
|
|
|
|
|
|
|
traits::select: quickly filter out predicates from other traits
this improves most pre-trans passes's performance by ~1%.
That missed the spring cleaning PR because I wanted to ship it.
r? @eddyb
|
|
cache dtorck constraints on ADTs
This avoids visiting the fields of all structs multiple times, improving item-bodies checking time by 10% (!).
Not sure whether we want this in 1.18 or 1.19. It's a big-ish patch, but the 10% win is very tempting.
r? @eddyb
|
|
This avoids visiting the fields of all structs multiple times, improving
item-bodies checking time by 10% (!).
|