summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2024-06-10Auto merge of #126219 - ferrocene:pa-stable-1.79.0, r=pietroalbini 1.79.0bors-1/+133
[stable] Prepare Rust 1.79.0 r? `@ghost`
2024-06-10bump channel to stablePietro Albini-1/+1
2024-06-10squash release notes from masterPietro Albini-0/+132
2024-06-07Auto merge of #126093 - cuviper:beta-next, r=cuviperbors-247/+507
[beta] backports - Fix insufficient logic when searching for the underlying allocation #124761 - Handle field projections like slice indexing in invalid_reference_casting #124908 - Handle Deref expressions in invalid_reference_casting #124978 - Fix ICE in non-operand `aggregate_raw_ptr` instrinsic codegen #125184 - Wrap Context.ext in AssertUnwindSafe #125392 - Revert problematic opaque type change #125489 - ast: Revert a breaking attribute visiting order change #125734 - Update to LLVM 18.1.7 #126061 - Revert "Disallow ambiguous attributes on expressions" on beta #126102 / #126101 - Silence double-symlink errors while building solaris toolchain #126011 r? cuviper
2024-06-06Silence double-symlink errors while building solaris toolchainJubilee Young-1/+1
(cherry picked from commit 40291bce5f93afe25825709d7782e86445086e2f)
2024-06-06Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, ↵Rémy Rakic-141/+49
r=davidtwco" This reverts commit 57dad1d75e562ff73051c1c43b07eaf65c7dbd74, reversing changes made to 36316df9fe6c3e246153fe6e78967643cf08c148.
2024-06-06Update to LLVM 18.1.7Nikita Popov-0/+0
(cherry picked from commit 46b31e6630f4ceb5c5ecb1c85758685196e2ab06)
2024-06-06ast: Revert a breaking attribute visiting order changeVadim Petrochenkov-66/+50
(cherry picked from commit 6e67eaa311c8e2992ccc64cf6a9e8f311a02a5d4)
2024-06-06Add a test for resolving `macro_rules` calls inside attributesVadim Petrochenkov-0/+202
(cherry picked from commit 3c4066d1126b7c0ed13da96639ca86ffc42ceea6)
2024-06-06Add regression testsOli Scherer-0/+136
(cherry picked from commit 526090b901cbedcef7e1eec132e217917606a54d)
2024-06-06Revert "Rollup merge of #123979 - oli-obk:define_opaque_types7, ↵Oli Scherer-15/+2
r=compiler-errors" This reverts commit f939d1ff4820844595d0f50f94038869f1445d08, reversing changes made to 183c706305d8c4e0ccb0967932381baf7e0c3611. (cherry picked from commit 56c135c9253563f92755b0a9cd54ec67f7c17fc7)
2024-06-06Wrap Context.ext in AssertUnwindSafeJubilee Young-42/+27
(cherry picked from commit 3a21fb5cec07052cb664b6a051e233cd4776283a)
2024-06-06Fix ICE in non-operand `aggregate_raw_ptr` instrinsic codegenScott McMurray-1/+28
(cherry picked from commit f60f2e8cb07d21b7d5b0fa7f96dacd2e806b98e4)
2024-06-06Handle Deref expressions in invalid_reference_castingBen Kimock-2/+11
(cherry picked from commit 2bb25d3f4ac8796a50f45409f3ef461ce83295f3)
2024-06-06Handle field projections like slice indexing in invalid_reference_castingBen Kimock-1/+8
(cherry picked from commit 0ca1a94b2bd58d19a1bd492300abd5bffe5263fb)
2024-06-06Fix insufficient logic when searching for the underlying allocationUrgau-0/+15
in the `invalid_reference_casting` lint, when trying to lint on bigger memory layout casts. (cherry picked from commit cd6a0c8c77575056f95d79ae1f5c460794e1388f)
2024-06-04Auto merge of #125629 - lcnr:undo-leak-check-changes, r=compiler-errorsbors-253/+85
[BETA] revert leak check changes reverts the behavior changes from https://github.com/rust-lang/rust/pull/119820 to give `sqlx` and other affected projects another 6 weeks. fixes https://github.com/rust-lang/rust/issues/125194
2024-06-03Auto merge of #125939 - weihanglo:update-beta-cargo, r=weihanglobors-0/+0
[beta-1.79] Update cargo 1 commits in 9ca20fadf04af535ec39d1e18c87cd886185d300..ffa9cf99a594e59032757403d4c780b46dc2c43a 2024-05-22 17:55:16 +0000 to 2024-06-03 14:41:30 +0000 - [beta-1.79] fix(config): Ensure `--config net.git-fetch-with-cli=true` is respected (rust-lang/cargo#13997) r? ghost
2024-06-03[beta-1.79] Update cargoWeihang Lo-0/+0
2024-05-27revert leak check changes in candidate winnowinglcnr-253/+85
reverts the behavior changes of #119820 to give some additional time to `sqlx` as it is affected by this change.
2024-05-25Auto merge of #125529 - cuviper:beta-next, r=cuviperbors-5/+36
[beta] backports - Add `#[inline]` to float `Debug` fallback used by `cfg(no_fp_fmt_parse)` #125252 - Add v0 symbol mangling for `f16` and `f128` #123816 - Only make GAT ambiguous in `match_projection_projections` considering shallow resolvability #125214 - Update to LLVM 18.1.6 #125288 r? cuviper
2024-05-24Update to LLVM 18.1.6Nikita Popov-1/+1
(cherry picked from commit e57f9ac3a04848da107047238d33528956121e03)
2024-05-24Only make GAT ambiguous in match_projection_projections considering shallow ↵Michael Goulet-1/+30
resolvability (cherry picked from commit fa829feb2f7a3fee5890f3acf57b66029b123d18)
2024-05-24Add v0 symbol mangling for `f16` and `f128`Trevor Gross-3/+4
As discussed at <https://github.com/rust-lang/rust/pull/122106>, use the crate encoding to represent new primitives. (cherry picked from commit 809b84edba988408071630b1e89a8c06be07aeed)
2024-05-24Add `#[inline]` to float `Debug` fallback used by `cfg(no_fp_fmt_parse)`beetrees-0/+1
(cherry picked from commit 827711d0879dabfc9df4cb6a76d2925391e61423)
2024-05-23Auto merge of #125420 - Muscraft:update-beta-cargo, r=Muscraftbors-0/+0
[beta-1.79] Update cargo 2 commits in 8a7384119af18fa4b3311c310661acd81f1b4885..9ca20fadf04af535ec39d1e18c87cd886185d300 2024-05-03 01:19:24 +0000 to 2024-05-22 17:55:16 +0000 - [beta-1.79] upgrade gix from 0.62 to 0.63 (rust-lang/cargo#13950) - [beta-1.79] fix(toml): Don't warn on lints.rust.unexpected_cfgs.check-cfg (rust-lang/cargo#13925) r? ghost
2024-05-22[beta] Update cargoScott Schafer-0/+0
2024-05-17Auto merge of #125183 - cuviper:beta-next, r=cuviperbors-171/+725
[beta] backports - Do not ICE on foreign malformed `diagnostic::on_unimplemented` #124683 - Fix more ICEs in `diagnostic::on_unimplemented` #124875 - rustdoc: use stability, instead of features, to decide what to show #124864 - Don't do post-method-probe error reporting steps if we're in a suggestion #125100 - Make `non-local-def` lint Allow by default #124950 r? cuviper
2024-05-16Make `non-local-def` lint Allow by defaultWesley Wiser-71/+131
(cherry picked from commit 23015b9ff4a7f829c2e0c884bdc0bcdb3c6d86f7)
2024-05-16Add test to make sure suggestions are still quickMichael Goulet-0/+247
(cherry picked from commit 8f97a2588caa808b4d46dc3224de5d40bbbcd94b)
2024-05-16Don't do post-method-probe error reporting steps if we're in a suggestionMichael Goulet-9/+37
(cherry picked from commit 2e4c90c3f7c11c745a5d787809ad36c49970a25b)
2024-05-16rustdoc: use stability, instead of features, to decide what to showMichael Howell-34/+42
To decide if internal items should be inlined in a doc page, check if the crate is itself internal, rather than if it has the rustc_private feature flag. The standard library uses internal items, but is not itself internal and should not show internal items on its docs pages. (cherry picked from commit 6d6f67a98cbc399ac14a3f9a8ddf6ed30bb7fb83)
2024-05-16Fix ICEs in diagnostic::on_unimplementedMichael Goulet-51/+203
(cherry picked from commit 7dbdbaaa8e4ce77f9b2f1428c82f7166fe6f02fb)
2024-05-16Add more ICEs due to malformed diagnostic::on_unimplementedMichael Goulet-35/+56
(cherry picked from commit a8f2e33eec57d56477c45396e4860f92247f353a)
2024-05-16Add test for #124651Esteban Küber-0/+36
(cherry picked from commit 758e459427946d89a3d900973923e504f712babc)
2024-05-16Do not ICE on foreign malformed `diagnostic::on_unimplemented`Esteban Küber-6/+8
Fix #124651. (cherry picked from commit 4847f2249f03b249956d2daa90a12f4ee66543a8)
2024-05-10Auto merge of #124947 - cuviper:beta-next, r=cuviperbors-11/+50
[beta] backports - Consider inner modules to be local in the `non_local_definitions` lint #124539 - Fix bootstrap panic when build from tarball #124668 r? cuviper
2024-05-09Fix bootstrap panic when build from tarball12101111-6/+1
(cherry picked from commit f13edeb4514368b4b3748e8f437fd6a166d95aff)
2024-05-09Consider inner modules to be local in the `non_local_definitions` lintUrgau-5/+49
(cherry picked from commit 21c688af86a52cf5d44c69c274179e7410e01a49)
2024-05-03Auto merge of #124647 - Muscraft:update-beta-cargo, r=Muscraftbors-0/+0
[beta-1.79] Update cargo 1 commits in b60a1555155111e962018007a6d0ef85207db463..8a7384119af18fa4b3311c310661acd81f1b4885 2024-04-26 16:37:29 +0000 to 2024-05-03 01:19:24 +0000 - [beta-1.79] Prevent inheritance from bring exposed for published packages (rust-lang/cargo#13853) r? `@weihanglo`
2024-05-02[beta] Update cargoScott Schafer-0/+0
2024-05-02Auto merge of #124616 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-424/+325
[beta] bump to released compiler r? `@Mark-Simulacrum`
2024-05-02Bump to released 1.78 compilerMark Rousskov-424/+325
2024-04-28Auto merge of #124476 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-80/+86
[beta] 1.79 promotion https://forge.rust-lang.org/release/process.html#promote-branches-t-3-days-monday r? `@Mark-Simulacrum`
2024-04-28Mark more entries in rustc_data_structures as no_inline for docsMark Rousskov-0/+6
This is a workaround for #122758, but it's not clear why 1.79 requires a more extensive amount of no_inline than the previous release. Seems like there's something relatively subtle happening here.
2024-04-28Bump to betaMark Rousskov-1/+1
2024-04-28Replace version placeholders for 1.79Mark Rousskov-79/+79
2024-04-28Auto merge of #124456 - matthiaskrgr:rollup-8bm3m6v, r=matthiaskrgrbors-27/+562
Rollup of 7 pull requests Successful merges: - #123248 (1.78 release notes) - #123942 (`x vendor`) - #124165 (add test for incremental ICE: slice-pattern-const.rs #83085) - #124242 (bootstrap: Describe build_steps modules) - #124406 (Remove unused `[patch]` for clippy_lints) - #124429 (bootstrap: Document `struct Builder` and its fields) - #124447 (Unconditionally call `really_init` on GNU/Linux) r? `@ghost` `@rustbot` modify labels: rollup
2024-04-28Rollup merge of #124447 - workingjubilee:set-argv-twice-on-gnu, r=ChrisDentonMatthias Krüger-6/+4
Unconditionally call `really_init` on GNU/Linux This makes miri not diverge in behavior, it fixes running Rust linux-gnu binaries on musl with gcompat, it fixes dlopen edge-cases that cranelift somehow hits, etc. Fixes #124126 thou hast gazed into this abyss with me: r? ``@ChrisDenton``
2024-04-28Rollup merge of #124429 - Enselic:document-builder, r=Mark-SimulacrumMatthias Krüger-0/+23
bootstrap: Document `struct Builder` and its fields I'm exploring the code of bootstrap and had a bit of a hard time understanding exactly what `Builder` is for at first. I decided to help document it and its field to help future explorers.