| Age | Commit message (Collapse) | Author | Lines |
|
[stable] Prepare Rust 1.66.1 and fix CVE-2022-46176
See https://blog.rust-lang.org/2023/01/10/cve-2022-46176.html
r? `@ghost`
|
|
Miri is not shipped on stable, so we don't care whether it builds or
not.
|
|
|
|
|
|
|
|
|
|
|
|
[stable] Prepare 1.66.0 release
This PR prepares the artifacts for the 1.66.0 release. The following PRs have been backported:
* #104782
* #105023
* #104558
* #104610
* #103989
* #104650
* #105539
* #105477
r? `@ghost`
|
|
Include is there only for the effect executing the rule.
The file is not intended to be remade successfully to be
actually included.
|
|
|
|
|
|
|
|
Do this because XCode 14 no longer supports a macOS deployment target
of anything before 10.13. We need 10.7+(-ish, really 10.9+) for now.
|
|
This reverts commit 8514b0097b28f84ee5cfead059a5771c6a693fb0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[beta] backport
* Use nominal_obligations_without_const in wf for FnDef #104180
* Don't silently eat label before block in block-like expr #103986
* Revert "Update CI to use Android NDK r25b" #104628
* rustdoc: Resolve doc links in external traits having local impls #104364
* Use 64 bits for incremental cache in-file positions #104164
* rustdoc: Do not add external traits to the crate in register_res #103649
* Revert "Normalize opaques with escaping bound vars" #103509
* Bump to released stable compiler
* [beta] Update cargo #104486
r? `@Mark-Simulacrum`
|
|
1 commits in 7e484fc1a766f56dbc95380f45719698e0c82749..d65d197ad5c6c09234369f219f943e291d4f04b9
2022-10-27 15:20:57 +0000 to 2022-11-15 21:30:31 +0000
- [beta-1.66] Backport fix for git2 safe-directory disable (rust-lang/cargo#11381)
|
|
The proper fix for this is
https://github.com/rust-lang/rust/pull/104091, but we're avoiding a
backport for it since this is just failing for an unstable feature.
|
|
|
|
|
|
This reverts commit 43119d643857efc366bfca527ac2dadfc3f2e906.
|
|
It's not clear why it was done, and apparently it's no longer necessary now.
Such additions are unpredictable for early doc link resolution and would force us to collect all doc links from all external traits.
|
|
|
|
|
|
This reverts commit bf7f1ca316a249cf99d722d79a0db12fef687142.
|
|
|
|
|
|
|
|
[beta] branch 1.66
This PR:
* Bumps version placeholders
* Bumps CI channel to beta
* Backports "rustdoc: add support for incoherent impls on structs and traits #103746"
|
|
We don't distribute a miri build for beta/stable so it needs to be kept
optional. In the future it likely makes sense to switch the miri
*artifacts* to always be built, but the rustup component to not be
included -- this will avoid some of this pain.
|
|
|
|
Fixes #103170
|
|
|
|
|
|
Do not consider repeated lifetime params for elision.
Fixes https://github.com/rust-lang/rust/issues/103330
|
|
Rollup of 8 pull requests
Successful merges:
- #102634 (compiletest: Refactor test rustcflags)
- #102721 (Prevent foreign Rust exceptions from being caught)
- #103415 (filter candidates in pick probe for diagnostics)
- #103618 (Rename some `OwnerId` fields.)
- #103625 (Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions)
- #103653 (Add missing impl blocks for item reexported from private mod in JSON output)
- #103699 (Emit proper error when casting to `dyn*`)
- #103719 (fix typo in `try_reserve` method from `HashMap` and `HashSet`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
|
|
fix typo in `try_reserve` method from `HashMap` and `HashSet`
Currently refers to the `reserve` method, instead of `try_reserve`. Other collections like [Vec](https://doc.rust-lang.org/std/vec/struct.Vec.html#method.try_reserve) & [VecDeque](https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.try_reserve) shows it well.
|
|
Emit proper error when casting to `dyn*`
Fixes #103679
|
|
Add missing impl blocks for item reexported from private mod in JSON output
Fixes #102583.
Since we don't inline for the JSON output, the impl blocks from private modules are not present when we generate the output. To go around this limitation, in case the impl block doesn't have `#[doc(hidden)]` and is implementing a public item, we don't strip it.
cc `@fmease` `@aDotInTheVoid`
r? `@notriddle`
|
|
Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions
Functions in answer:
- `Ty::is_freeze`
- `Ty::is_sized`
- `Ty::is_unpin`
- `Ty::is_copy_modulo_regions`
This allows to remove a lot of useless `.at(DUMMY_SP)`, making the code a bit nicer :3
r? `@compiler-errors`
|
|
Rename some `OwnerId` fields.
`@spastorino` noticed some silly expressions like `item_id.def_id.def_id`.
This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`.
`item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone.
r? `@compiler-errors`
|