bors
eb26296b55
Auto merge of #114410 - pietroalbini:pa-cve-2023-38497-stable, r=pietroalbini
...
[stable] Update point release to fix CVE-2023-38497
This PR fixes CVE-2023-38497 on stable, by updating Cargo to a fixed version.
r? `@ghost`
cc `@rust-lang/release`
2023-08-03 12:11:47 +00:00
Pietro Albini
64611e15c7
update release notes to include cve fix
2023-08-03 11:06:10 +02:00
Pietro Albini
20d5786fe2
update cargo to fix cve-2023-38497
2023-08-03 10:59:50 +02:00
bors
7c790132e1
Auto merge of #114284 - pietroalbini:pa-1.72.1, r=pietroalbini
...
Prepare Rust 1.71.1
This PR prepares the Rust 1.71.1 release, which contains:
* https://github.com/rust-lang/rust/pull/113802
* https://github.com/rust-lang/rust/pull/113579
* https://github.com/rust-lang/rust/pull/111516
* https://github.com/rust-lang/rust/pull/112517
* 67b5990472 (from https://github.com/rust-lang/rust/issues/113678 )
r? `@ghost`
cc `@rust-lang/release`
2023-07-31 12:03:05 +00:00
Pietro Albini
95ae5103f3
bump version number
2023-07-31 12:44:28 +02:00
Pietro Albini
4ea77cf902
update release notes for 1.72.1
2023-07-31 12:44:27 +02:00
jyn
8f395dfeb7
Revert "Fix x test lint-docs when download-rustc is enabled"
...
This was not the correct fix. The problem was two-fold:
- `download-rustc` didn't respect `llvm.assertions`
- `rust-dev` was missing a bump to `download-ci-llvm-stamp`
The first is fixed in this PR and the latter was fixed a while ago. Revert this change to avoid breaking `rpath = false`.
2023-07-31 12:44:25 +02:00
Deadbeef
dc78a89f53
do not use stringly typed diagnostics
2023-07-31 12:44:24 +02:00
Deadbeef
e274006ce5
suspicious_double_ref_op: don't lint on .borrow()
2023-07-31 12:44:23 +02:00
Michael Goulet
382ae1917e
Don't use can_eq in derive suggestion for missing method
2023-07-31 12:44:22 +02:00
ekusiadadus
06c8b43559
Revert "fix: 🐛 etc/bash_complettion -> src/etc/... to avoid copy error"
...
This reverts commit 08ce68b6a6 .
2023-07-31 12:44:20 +02:00
Camille GILLOT
efcd08eb35
Substitute types before checking compatibility.
2023-07-31 12:44:19 +02:00
bors
8ede3aae28
Auto merge of #113602 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
...
[stable] 1.71.0 release, backports
This PR adds a last-minute backport of:
- #112343 : Prevent emitting `missing_docs` for `pub extern crate`
- no beta/mainline PR -- dropping empty section from relnotes
2023-07-12 03:31:10 +00:00
Mark Rousskov
20f5748a95
Drop empty sections from release notes
2023-07-11 21:47:22 -04:00
Guillaume Gomez
d412f06eff
Add regression test for #112308
2023-07-11 21:45:29 -04:00
Guillaume Gomez
288476298b
Prevent emitting missing_docs for pub extern crate
2023-07-11 21:45:29 -04:00
bors
7bb61853ad
Auto merge of #113541 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum
...
[stable] Prepare 1.71.0 stable release
r? `@Mark-Simulacrum`
2023-07-10 15:07:21 +00:00
Mark Rousskov
9df351b1c1
Prepare 1.71.0 stable release
2023-07-10 10:45:24 -04:00
bors
01b5c40dc1
Auto merge of #113483 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrum
...
[beta] backport
This PR backports:
- #113334 : Revert the lexing of `c"…"` string literals
- #113231 : Fix `dropping_copy_types` lint from linting in match-arm with side-effects
- #112794 : Fix linker failures when #[global_allocator] is used in a dependency
r? `@Mark-Simulacrum`
2023-07-08 23:20:14 +00:00
Mark Rousskov
df2ddb75bf
Downgrade addr2line
...
This prevents #113238 from hitting stable while we sort out options for avoiding it. The downgrade
is expected to not affect any users on stable, since it primarily affects tier 3 targets.
2023-07-08 10:58:48 -04:00
bjorn3
b1fcea06f4
Fix linker failures when #[global_allocator] is used in a dependency
2023-07-08 09:43:19 -04:00
Urgau
971831da24
Fix dropping_copy_types lint from linting in match-arm with side-effects
2023-07-08 09:42:55 -04:00
León Orell Valerian Liehr
dedc4550ba
Revert the lexing of c_str_literals
2023-07-08 09:32:30 -04:00
León Orell Valerian Liehr
892a91f531
Add regression test
2023-07-08 09:32:24 -04:00
bors
f06c1b82f2
Auto merge of #113417 - flip1995:clippy_beta_backport, r=Manishearth
...
[beta] Clippy beta backport
Backported PRs:
- https://github.com/rust-lang/rust-clippy/pull/10813
- https://github.com/rust-lang/rust-clippy/pull/10865
- https://github.com/rust-lang/rust-clippy/pull/10873
- https://github.com/rust-lang/rust-clippy/pull/10992
Those address bugs, that were either introduced with 1.71 and that we would like to address before they get into stable or bugs that were introduced in 1.70 and that we would like to be fixed in 1.71 already.
Detailed arguments for the backports of those PRs are in the PRs (mostly).
r? `@Mark-Simulacrum`
2023-07-06 21:48:13 +00:00
blyxyas
8cde275446
Ignore in-proc-macros items
2023-07-06 19:43:58 +02:00
Alex Macleod
cbadffc158
Move redundant_clone to nursery
2023-07-06 19:42:56 +02:00
bors
f25839a64d
Auto merge of #10865 - Centri3:let_with_type_underscore_tracing, r=Jarcho
...
[`let_with_type_underscore`]: Don't emit on locals from procedural macros
closes #10498
changelog: [`let_with_type_underscore`]: Don't emit on locals from procedural macros
2023-07-06 19:40:54 +02:00
y21
490cd94817
[default_constructed_unit_structs]: do not lint type aliases
2023-07-06 19:37:59 +02:00
bors
dbf31f17d0
Auto merge of #113000 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrum
...
[beta] backport
This PR backports:
- #112684 : Disable alignment checks on i686-pc-windows-msvc
- #112581 : [rustdoc] Fix URL encoding of % sign
- #112312 : Update to LLVM 16.0.5
- #112266 : Fix type-inference regression in #112225
- #112062 : Make struct layout not depend on unsizeable tail
r? `@Mark-Simulacrum`
2023-06-24 17:24:00 +00:00
Wesley Wiser
f8052fca83
Add test case for unsizing with niche
2023-06-24 10:18:47 -04:00
The 8472
f667eebd94
disable some layout optimizations for unsizable structs
2023-06-24 10:18:47 -04:00
Lukas Markeffsky
4f237bf5ae
Make struct layout not depend on unsizeable tail
2023-06-24 10:18:47 -04:00
Arpad Borsos
d1aad9ea76
Fix type-inference regression in #112225
...
The type inference of argument-position closures and async blocks
regressed in 1.70 as the evaluation order of async blocks changed, as
they are not implicitly wrapped in an identity-function anymore.
Fixes #112225 by making sure the evaluation order stays the same as it
used to.
2023-06-24 10:18:37 -04:00
Nikita Popov
ec910f4194
Update to LLVM 16.0.5
2023-06-24 10:18:30 -04:00
TumoiYorozu
613630d02f
Fix URL encoding of % sign in Rust Doc.
2023-06-24 10:18:17 -04:00
Wesley Wiser
c516249c84
Update compiler/rustc_mir_transform/src/check_alignment.rs
2023-06-24 10:17:57 -04:00
Ben Kimock
8881d01b3f
Disable alignment checks on i686-pc-windows-msvc
2023-06-24 10:17:57 -04:00
bors
78a6ac0a86
Auto merge of #112421 - weihanglo:update-beta-cargo, r=weihanglo
...
[beta-1.71] cargo backport
1 commits in 64fb38c97ac4d3a327fc9032c862dd28c8833b17..cfd3bbd8fe4fd92074dfad04b7eb9a923646839f
2023-05-23 18:53:23 +0000 to 2023-06-08 08:44:47 +0000
- [beta-1.70] backport rust-lang/cargo#12234 (rust-lang/cargo#12242 )
r? `@ghost`
2023-06-08 16:33:53 +00:00
Weihang Lo
27a6bdd8a0
[beta-1.71] cargo backport
2023-06-08 12:06:30 +01:00
bors
4e8c9e8e37
Auto merge of #112246 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[beta] backports + stage0 bump
This bumps the beta branch to use 1.70 as the bootstrap compiler, and backports:
* https://github.com/rust-lang/rust/pull/112070
r? `@Mark-Simulacrum`
2023-06-04 06:52:23 +00:00
lcnr
8bc8defeee
add FIXME
2023-06-03 12:17:58 -04:00
lcnr
6aba7e8c43
add tests
2023-06-03 12:17:53 -04:00
lcnr
29b922d523
unique borrows are mutating uses
2023-06-03 12:17:46 -04:00
Mark Rousskov
769f6cc24c
Bump to released 1.70 stable
2023-06-03 12:17:13 -04:00
bors
eff24c06d8
Auto merge of #112066 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[beta] 1.71.0 branch
* Swap out CURRENT_RUSTC_VERSION markers
* Bump CI channel
* Backport https://github.com/rust-lang/rust/pull/112026
r? `@Mark-Simulacrum`
2023-05-29 19:57:03 +00:00
Ben Kimock
f4e937955c
Exclude Rvalue::AddressOf for raw pointer deref alignment checks
2023-05-29 10:35:23 -04:00
Ben Kimock
3af6f2eeef
Add a test for misaligned pointer derefs inside addr_of!
2023-05-29 10:35:23 -04:00
Mark Rousskov
fe18edca5e
Switch to beta channel
2023-05-29 10:34:01 -04:00
Mark Rousskov
d302f61b8a
Swap out CURRENT_RUSTC_VERSION to 1.71.0
2023-05-29 10:33:37 -04:00