bors
3dbb49729b
Auto merge of #142451 - flip1995:clippy-subtree-update, r=Manishearth
...
Clippy subtree update
r? `@Manishearth`
1 day late. Got distracted yesterday evening and forgot about it.
2025-06-13 14:42:56 +00:00
bors
0d6ab209c5
Auto merge of #142451 - flip1995:clippy-subtree-update, r=Manishearth
...
Clippy subtree update
r? `@Manishearth`
1 day late. Got distracted yesterday evening and forgot about it.
2025-06-13 14:42:56 +00:00
Antoni Boucher
323432a9e0
Add the cspell action in the CI
2025-06-13 10:42:21 -04:00
Antoni Boucher
2abdea9293
Fix spelling mistakes or ignore spell checking some parts of code
2025-06-13 10:42:21 -04:00
Martin Pool
1bdd12ddc1
Make the URL a hyperlink
2025-06-13 07:36:51 -07:00
lcnr
9c07e8ec80
remove unnecessary function arg
2025-06-13 16:36:48 +02:00
lcnr
64f9c47211
refactor reached_depth -> required_depth
2025-06-13 16:36:48 +02:00
Martin Pool
6438b31117
Fix link to the contribution guide
2025-06-13 07:35:34 -07:00
lcnr
85fe615036
move stack into submodule
2025-06-13 16:34:37 +02:00
Antoni Boucher
72d99d070a
Add cspell config
2025-06-13 10:34:20 -04:00
bit-aloo
2f7cc5a285
remove output from helpers
2025-06-13 20:03:29 +05:30
bit-aloo
66beaa6e5d
replace output usage in bootstrap/lib.rs with new execution context
2025-06-13 20:03:24 +05:30
Tom Vijlbrief
1323fd6f73
Add missing avr64* series
2025-06-13 16:03:57 +02:00
Oli Scherer
1d41c2c01c
Merge unboxed trait object error suggestion into regular dyn incompat error
2025-06-13 13:54:06 +00:00
Lukas Wirth
e01f53fd56
Merge pull request #19992 from Veykril/push-uxpqwrxqtlvm
...
Use `ThinVec` in `ItemScope` in a couple places
2025-06-13 13:45:31 +00:00
Lukas Wirth
2eea0f8c05
Use ThinVec in ItemScope in a couple places
2025-06-13 15:34:03 +02:00
Lukas Wirth
44092665c6
Merge pull request #19991 from Veykril/push-kzqoxzmxqnkl
...
perf: Bring back `EMPTY` item tree deduplication
2025-06-13 13:12:19 +00:00
bit-aloo
da0cceebf0
replace output usage in sanity with new execution context
2025-06-13 18:29:48 +05:30
Sasha Pourcelot
527f35a28f
doc: mention that intrinsics should not be called in user code
...
Intrinsic functions declared in `std::intrinsics` are an implementation
detail and should not be called directly by the user. The compiler
explicitly warns against their use in user code:
```
warning: the feature `core_intrinsics` is internal to the compiler or standard library
--> src/lib.rs:1:12
|
1 | #![feature(core_intrinsics)]
| ^^^^^^^^^^^^^^^
|
= note: using it is strongly discouraged
= note: `#[warn(internal_features)]` on by default
```
[**Playground link**]
This PR documents what the compiler warning says: these intrinsics should
not be called outside the standard library.
[**Playground link**]: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=1c893b0698291f550bbdde0151fd221b
2025-06-13 14:58:28 +02:00
Lukas Wirth
dd7f93ef77
Bring back EMPTY item tree deduplication
2025-06-13 14:51:23 +02:00
Jana Dönszelmann
6f5a717a6c
collect delayed lints in hir_crate_items
2025-06-13 14:03:01 +02:00
Tom Vijlbrief
00feedcb31
Add modern AVR mcus like avr128db28 and attiny3224
2025-06-13 13:56:48 +02:00
bors
c359117819
Auto merge of #142442 - matthiaskrgr:rollup-6yodjfx, r=matthiaskrgr
...
Rollup of 10 pull requests
Successful merges:
- rust-lang/rust#134847 (Implement asymmetrical precedence for closures and jumps)
- rust-lang/rust#141491 (Delegate `<CStr as Debug>` to `ByteStr`)
- rust-lang/rust#141770 (Merge `Cfg::render_long_html` and `Cfg::render_long_plain` methods common code)
- rust-lang/rust#142069 (Introduce `-Zmacro-stats`)
- rust-lang/rust#142158 (Tracking the old name of renamed unstable library features)
- rust-lang/rust#142221 ([AIX] strip underlying xcoff object)
- rust-lang/rust#142340 (miri: we can use apfloat's mul_add now)
- rust-lang/rust#142379 (Add bootstrap option to compile a tool with features)
- rust-lang/rust#142410 (intrinsics: rename min_align_of to align_of)
- rust-lang/rust#142413 (rustc-dev-guide subtree update)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-13 11:42:31 +00:00
Lukas Wirth
e1e7f59ef9
Merge pull request #19990 from Veykril/push-zkvrlrotmuzr
...
Generate annotations for macro defined items if their name is in the input
2025-06-13 11:41:26 +00:00
Lukas Wirth
4b61ff7237
Generate annotations for macro defined items if their name is in the input
2025-06-13 13:30:09 +02:00
Lukas Wirth
777fdacb54
Merge pull request #19982 from Veykril/push-uptnmqtlylsx
...
Simplify and optimize `ItemTree`
2025-06-13 11:16:24 +00:00
Lukas Wirth
63e1707119
Remove unnecessary item tree query calls
2025-06-13 13:05:52 +02:00
Philipp Krones
7e25bb163c
Move COERCE_CONTAINER_TO_ANY to nursery, as it has FPs
2025-06-13 12:55:22 +02:00
Philipp Krones
9cb0a64e51
Move COERCE_CONTAINER_TO_ANY to nursery, as it has FPs
2025-06-13 12:55:22 +02:00
Jonathan Brouwer
3160dfa5dc
Add failing tests
2025-06-13 12:38:16 +02:00
Chris Denton
595e88ae7d
Windows: make read_dir stop iterating on error
2025-06-13 09:49:48 +00:00
Philipp Krones
cbd683fe31
Merge commit '4ef75291b5dd6739212f1f61666d19d4e086690d' into clippy-subtree-update
2025-06-13 11:24:45 +02:00
Philipp Krones
8fe9c2cc6b
Merge commit '4ef75291b5dd6739212f1f61666d19d4e086690d' into clippy-subtree-update
2025-06-13 11:24:45 +02:00
Chris Denton
ae645fc0b8
Remove "intermittent" wording from ReadDir
2025-06-13 09:14:15 +00:00
Ralf Jung
25ec235b86
tweak runtime/const macro management
2025-06-13 10:22:56 +02:00
Philipp Krones
4ef75291b5
Rustup ( #15044 )
...
r? @ghost
changelog: none
2025-06-13 08:22:55 +00:00
Lukas Wirth
43d86181c0
Merge pull request #19989 from Veykril/push-xrqwoukkltnm
...
`cargo update` and `cargo upgrade`
2025-06-13 08:19:08 +00:00
Philipp Krones
19c2f0332c
Bump nightly version -> 2025-06-13
2025-06-13 10:17:27 +02:00
Philipp Krones
85655d4a09
Merge remote-tracking branch 'upstream/master' into rustup
2025-06-13 10:17:14 +02:00
Lukas Wirth
05b7cdcf8e
cargo upgrade
2025-06-13 10:08:20 +02:00
Oli Scherer
bb2b765702
Require generic params for const generic params
2025-06-13 07:48:00 +00:00
Lukas Wirth
68f6a23c58
cargo update
...
Updating adler2 v2.0.0 -> v2.0.1
Updating anyhow v1.0.97 -> v1.0.98
Updating bitflags v2.9.0 -> v2.9.1
Updating borsh v1.5.5 -> v1.5.7
Updating boxcar v0.2.12 -> v0.2.13
Updating camino v1.1.9 -> v1.1.10
Updating cc v1.2.16 -> v1.2.26
Updating cfg-if v1.0.0 -> v1.0.1
Updating flate2 v1.1.1 -> v1.1.2
Updating foldhash v0.1.4 -> v0.1.5
Updating getrandom v0.2.15 -> v0.2.16
Updating hashbrown v0.15.2 -> v0.15.4
Updating hermit-abi v0.3.9 -> v0.5.2
Updating icu_collections v1.5.0 -> v2.0.0
Adding icu_locale_core v2.0.0
Removing icu_locid v1.5.0
Removing icu_locid_transform v1.5.0
Removing icu_locid_transform_data v1.5.0
Updating icu_normalizer v1.5.0 -> v2.0.0
Updating icu_normalizer_data v1.5.0 -> v2.0.0
Updating icu_properties v1.5.1 -> v2.0.1
Updating icu_properties_data v1.5.0 -> v2.0.1
Updating icu_provider v1.5.0 -> v2.0.0
Removing icu_provider_macros v1.5.0
Updating idna_adapter v1.2.0 -> v1.2.1
Updating kqueue v1.0.8 -> v1.1.1
Updating libloading v0.8.7 -> v0.8.8
Updating libmimalloc-sys v0.1.40 -> v0.1.42
Updating litemap v0.7.5 -> v0.8.0
Updating lock_api v0.4.12 -> v0.4.13
Updating log v0.4.26 -> v0.4.27
Updating memchr v2.7.4 -> v2.7.5
Updating mimalloc v0.1.44 -> v0.1.46
Updating miniz_oxide v0.8.5 -> v0.8.9
Updating mio v1.0.3 -> v1.0.4
Updating num_cpus v1.16.0 -> v1.17.0
Updating once_cell v1.21.1 -> v1.21.3
Updating parking_lot v0.12.3 -> v0.12.4
Updating parking_lot_core v0.9.10 -> v0.9.11
Updating portable-atomic v1.11.0 -> v1.11.1
Adding potential_utf v0.1.2
Updating proc-macro2 v1.0.94 -> v1.0.95
Updating redox_syscall v0.5.10 -> v0.5.13
Updating rustc-demangle v0.1.24 -> v0.1.25
Updating rustc_apfloat v0.2.2+llvm-462a31f5a5ab -> v0.2.3+llvm-462a31f5a5ab
Updating serde_spanned v0.6.8 -> v0.6.9
Updating smallvec v1.14.0 -> v1.15.1
Updating syn v2.0.100 -> v2.0.103
Updating synstructure v0.13.1 -> v0.13.2
Updating tenthash v1.0.0 -> v1.1.0
Updating thread_local v1.1.8 -> v1.1.9
Updating time v0.3.40 -> v0.3.41
Updating time-macros v0.2.21 -> v0.2.22
Updating tinystr v0.7.6 -> v0.8.1
Updating toml v0.8.20 -> v0.8.23
Updating toml_datetime v0.6.8 -> v0.6.11
Updating toml_edit v0.22.24 -> v0.22.27
Adding toml_write v0.1.2
Updating tracing-attributes v0.1.28 -> v0.1.29
Updating tracing-core v0.1.33 -> v0.1.34
Removing utf16_iter v1.0.5
Updating wasi v0.11.0+wasi-snapshot-preview1 -> v0.11.1+wasi-snapshot-preview1
Updating windows v0.61.1 -> v0.61.3
Updating windows-core v0.61.0 -> v0.61.2
Updating windows-future v0.2.0 -> v0.2.1
Updating windows-link v0.1.1 -> v0.1.3
Updating windows-result v0.3.2 -> v0.3.4
Updating windows-strings v0.4.0 -> v0.4.2
Adding windows-sys v0.60.2
Updating windows-targets v0.53.0 -> v0.53.2
Adding windows-threading v0.1.0
Updating winnow v0.7.3 -> v0.7.11
Removing write16 v1.0.0
Updating writeable v0.5.5 -> v0.6.1
Updating yoke v0.7.5 -> v0.8.0
Updating yoke-derive v0.7.5 -> v0.8.0
Adding zerotrie v0.2.2
Updating zerovec v0.10.4 -> v0.11.2
Updating zerovec-derive v0.10.3 -> v0.11.1
2025-06-13 09:46:52 +02:00
Mara Bos
855ea48ccc
Add test for temporary lifetime extension in Self() syntax.
2025-06-13 09:20:55 +02:00
Mara Bos
578fa8e945
Add tests.
2025-06-13 09:20:55 +02:00
Mara Bos
e71a93b5c2
Add comment.
2025-06-13 09:20:55 +02:00
Mara Bos
ff5ba7aa74
Update tests.
2025-06-13 09:20:48 +02:00
Mara Bos
99929fa9e6
Implement temporary lifetime extension for tuple ctors.
2025-06-13 09:04:12 +02:00
Lukas Wirth
4f1a07ca58
Remove ast ids from item tree mod items
2025-06-13 08:47:25 +02:00
dianqk
4b2e77bd74
Update to LLVM 20.1.7
2025-06-13 14:44:34 +08:00
Lukas Wirth
e39c1e971b
Split mod items into small and big variants
2025-06-13 08:24:50 +02:00