bors
129f3b9964
Auto merge of #126219 - ferrocene:pa-stable-1.79.0, r=pietroalbini
...
[stable] Prepare Rust 1.79.0
r? `@ghost`
2024-06-10 08:33:35 +00:00
Pietro Albini
e4cd022330
bump channel to stable
2024-06-10 10:22:22 +02:00
Pietro Albini
6696544599
squash release notes from master
2024-06-10 10:22:08 +02:00
bors
7bb6510fc1
Auto merge of #126093 - cuviper:beta-next, r=cuviper
...
[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-07 11:26:27 +00:00
Jubilee Young
c689624a0e
Silence double-symlink errors while building solaris toolchain
...
(cherry picked from commit 40291bce5f )
2024-06-06 18:13:24 -07:00
Rémy Rakic
7a24e8b204
Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwco"
...
This reverts commit 57dad1d75e , reversing
changes made to 36316df9fe .
2024-06-06 18:12:48 -07:00
Nikita Popov
ac45caabc1
Update to LLVM 18.1.7
...
(cherry picked from commit 46b31e6630 )
2024-06-06 11:41:35 -07:00
Vadim Petrochenkov
619e9abc7d
ast: Revert a breaking attribute visiting order change
...
(cherry picked from commit 6e67eaa311 )
2024-06-06 11:41:35 -07:00
Vadim Petrochenkov
d0b047410d
Add a test for resolving macro_rules calls inside attributes
...
(cherry picked from commit 3c4066d112 )
2024-06-06 11:41:35 -07:00
Oli Scherer
4fa46ffbe4
Add regression tests
...
(cherry picked from commit 526090b901 )
2024-06-06 11:41:35 -07:00
Oli Scherer
97e94c1992
Revert "Rollup merge of #123979 - oli-obk:define_opaque_types7, r=compiler-errors"
...
This reverts commit f939d1ff48 , reversing
changes made to 183c706305 .
(cherry picked from commit 56c135c925 )
2024-06-06 11:41:35 -07:00
Jubilee Young
b8fb165d41
Wrap Context.ext in AssertUnwindSafe
...
(cherry picked from commit 3a21fb5cec )
2024-06-06 11:41:35 -07:00
Scott McMurray
3c5120646e
Fix ICE in non-operand aggregate_raw_ptr instrinsic codegen
...
(cherry picked from commit f60f2e8cb0 )
2024-06-06 11:41:35 -07:00
Ben Kimock
900f1b7b19
Handle Deref expressions in invalid_reference_casting
...
(cherry picked from commit 2bb25d3f4a )
2024-06-06 11:41:35 -07:00
Ben Kimock
eb89434323
Handle field projections like slice indexing in invalid_reference_casting
...
(cherry picked from commit 0ca1a94b2b )
2024-06-06 11:41:35 -07:00
Urgau
bd642edd49
Fix insufficient logic when searching for the underlying allocation
...
in the `invalid_reference_casting` lint, when trying to lint on
bigger memory layout casts.
(cherry picked from commit cd6a0c8c77 )
2024-06-06 11:41:35 -07:00
bors
81ed1ceb38
Auto merge of #125629 - lcnr:undo-leak-check-changes, r=compiler-errors
...
[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-04 07:20:50 +00:00
bors
d0f44a4cf3
Auto merge of #125939 - weihanglo:update-beta-cargo, r=weihanglo
...
[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 21:12:46 +00:00
Weihang Lo
76e8973dcd
[beta-1.79] Update cargo
2024-06-03 15:02:04 -04:00
lcnr
62a7694fa7
revert leak check changes in candidate winnowing
...
reverts the behavior changes of #119820 to give some
additional time to `sqlx` as it is affected by this change.
2024-05-27 19:45:51 +00:00
bors
d9e85b56e7
Auto merge of #125529 - cuviper:beta-next, r=cuviper
...
[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-25 07:38:15 +00:00
Nikita Popov
16f4a2b2f9
Update to LLVM 18.1.6
...
(cherry picked from commit e57f9ac3a0 )
2024-05-24 17:31:35 -07:00
Michael Goulet
7e941a7c10
Only make GAT ambiguous in match_projection_projections considering shallow resolvability
...
(cherry picked from commit fa829feb2f )
2024-05-24 17:31:35 -07:00
Trevor Gross
66bac3a967
Add v0 symbol mangling for f16 and f128
...
As discussed at <https://github.com/rust-lang/rust/pull/122106 >, use the
crate encoding to represent new primitives.
(cherry picked from commit 809b84edba )
2024-05-24 17:31:35 -07:00
beetrees
60c5b73b6d
Add #[inline] to float Debug fallback used by cfg(no_fp_fmt_parse)
...
(cherry picked from commit 827711d087 )
2024-05-24 17:31:35 -07:00
bors
66eb3e404b
Auto merge of #125420 - Muscraft:update-beta-cargo, r=Muscraft
...
[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-23 00:11:18 +00:00
Scott Schafer
6ae669f4b2
[beta] Update cargo
2024-05-22 13:49:45 -06:00
bors
0436bf18fc
Auto merge of #125183 - cuviper:beta-next, r=cuviper
...
[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-17 04:18:18 +00:00
Wesley Wiser
cfae8b26ea
Make non-local-def lint Allow by default
...
(cherry picked from commit 23015b9ff4 )
2024-05-16 14:22:47 -07:00
Michael Goulet
d4e19af386
Add test to make sure suggestions are still quick
...
(cherry picked from commit 8f97a2588c )
2024-05-16 09:06:54 -07:00
Michael Goulet
37301f52bc
Don't do post-method-probe error reporting steps if we're in a suggestion
...
(cherry picked from commit 2e4c90c3f7 )
2024-05-16 09:06:54 -07:00
Michael Howell
75e17c96a8
rustdoc: use stability, instead of features, to decide what to show
...
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 6d6f67a98c )
2024-05-16 09:06:54 -07:00
Michael Goulet
716c563528
Fix ICEs in diagnostic::on_unimplemented
...
(cherry picked from commit 7dbdbaaa8e )
2024-05-16 09:06:54 -07:00
Michael Goulet
5d77c79b5b
Add more ICEs due to malformed diagnostic::on_unimplemented
...
(cherry picked from commit a8f2e33eec )
2024-05-16 09:06:54 -07:00
Esteban Küber
4054780318
Add test for #124651
...
(cherry picked from commit 758e459427 )
2024-05-16 09:06:54 -07:00
Esteban Küber
6af338d14f
Do not ICE on foreign malformed diagnostic::on_unimplemented
...
Fix #124651 .
(cherry picked from commit 4847f2249f )
2024-05-16 09:06:54 -07:00
bors
a269819742
Auto merge of #124947 - cuviper:beta-next, r=cuviper
...
[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-10 02:26:39 +00:00
12101111
6c68ae64df
Fix bootstrap panic when build from tarball
...
(cherry picked from commit f13edeb451 )
2024-05-09 14:41:27 -07:00
Urgau
4b8149f481
Consider inner modules to be local in the non_local_definitions lint
...
(cherry picked from commit 21c688af86 )
2024-05-09 14:41:12 -07:00
bors
f5d04caa74
Auto merge of #124647 - Muscraft:update-beta-cargo, r=Muscraft
...
[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-03 13:29:24 +00:00
Scott Schafer
d9f97ac506
[beta] Update cargo
2024-05-02 22:33:26 -06:00
bors
4bf9354b9e
Auto merge of #124616 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[beta] bump to released compiler
r? `@Mark-Simulacrum`
2024-05-02 20:38:30 +00:00
Mark Rousskov
e81c4a7492
Bump to released 1.78 compiler
2024-05-02 08:46:13 -04:00
bors
6b544f5ff8
Auto merge of #124476 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
...
[beta] 1.79 promotion
https://forge.rust-lang.org/release/process.html#promote-branches-t-3-days-monday
r? `@Mark-Simulacrum`
2024-04-28 17:10:57 +00:00
Mark Rousskov
532195dd71
Mark more entries in rustc_data_structures as no_inline for docs
...
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-28 10:10:32 -04:00
Mark Rousskov
a553f4262e
Bump to beta
2024-04-28 09:28:51 -04:00
Mark Rousskov
afb58fa01e
Replace version placeholders for 1.79
2024-04-28 09:28:27 -04:00
bors
0986358d2c
Auto merge of #124456 - matthiaskrgr:rollup-8bm3m6v, r=matthiaskrgr
...
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-28 00:05:11 +00:00
Matthias Krüger
be8976022e
Rollup merge of #124447 - workingjubilee:set-argv-twice-on-gnu, r=ChrisDenton
...
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-28 01:25:02 +02:00
Matthias Krüger
088753cb9a
Rollup merge of #124429 - Enselic:document-builder, r=Mark-Simulacrum
...
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.
2024-04-28 01:25:01 +02:00