bors
bdb04d6c4f
Auto merge of #141763 - lcnr:fixme-gamer, r=BoxyUwU
...
`FIXME(-Znext-solver)` triage
r? `@BoxyUwU`
2025-06-11 11:47:05 +00:00
Guillaume Gomez
f1ceb07a7d
Update extracted-doctest feature documentation
2025-06-11 13:44:22 +02:00
bit-aloo
d4d90ca3d2
put flag check at the end of command chain in mingw-check-2
2025-06-11 16:01:40 +05:30
Stypox
cd04717899
Fix enter_trace_span!() using wrong $crate paths
2025-06-11 12:22:20 +02:00
lcnr
a48c08546c
move fast reject into inner
...
to also fast reject inside of the folder
2025-06-11 12:13:57 +02:00
Lukas Wirth
6e5439b8f9
Merge pull request #19973 from Veykril/push-ppltxvqvqmkk
...
fix: Hide dyn inlay hints for incomplete `impl`s
2025-06-11 10:01:01 +00:00
Lukas Wirth
ac4e365776
fix: Hide dyn inlay hints for incomplete impls
2025-06-11 11:49:44 +02:00
Stypox
fc96ca8bba
Use closure to allow passing custom tracing layers
...
The previous method, where a layer would be passed directly,
required to pass a "no-op" layer when no custom layer was needed.
This should have in theory worked, however having a no-op layer
seems to change the way the tracing lib applies filters internally,
leading to some debug!() being printed despite them being out of
the minimum level for the filters. Note however that this behavior
was very inconsistent, and e.g. some debug!() would get printed
and some others wouldn't, for no apparent reason.
2025-06-11 10:42:50 +02:00
Stypox
0d74252537
Allow initializing logger with additional tracing Layer
2025-06-11 10:41:22 +02:00
bit-aloo
8c236ab51e
add comment over ci change
2025-06-11 13:48:50 +05:30
bit-aloo
052a7c5618
add tracing flag in bootstrap check cmd in mingw-check-2 ci workflow
2025-06-11 13:43:42 +05:30
Jakub Beránek
3a33dd6194
Revert "add Cargo.lock to CI-rustc allowed list for non-CI env"
...
This reverts commit c3de813944 .
2025-06-11 10:08:45 +02:00
Oli Scherer
e2ce96bbaa
Merge pull request #4384 from RalfJung/diag-no-repeat
...
diagnostics: do not repeat the entire message in the span label
2025-06-11 08:07:42 +00:00
onur-ozkan
103d668e69
remove myself from the project
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-06-11 11:02:52 +03:00
bit-aloo
9dd7c019fe
add trace_cmd import in tracing feature in execution context
2025-06-11 13:30:53 +05:30
bors
0a39445252
Auto merge of #141942 - ShoyuVanilla:smir-repr, r=oli-obk
...
Implement representation options to smir
Resolves rust-lang/project-stable-mir#89
2025-06-11 07:45:07 +00:00
Jubilee Young
87feee9ad5
compiler: Update all targets to the new c_int_width type
2025-06-11 00:42:14 -07:00
Jubilee Young
b88c0061c4
compiler: Change c_int_width to be an integer type
2025-06-11 00:42:14 -07:00
Ralf Jung
f5d24e930a
miri: we can use apfloat's mul_add now
2025-06-11 09:12:39 +02:00
Ralf Jung
2a10f12112
miri: add flag to suppress float non-determinism
2025-06-11 08:40:46 +02:00
Lukas Wirth
1f1cb5db84
Merge pull request #19970 from ChayimFriedman2/proc-macro-srv-minus
...
fix: Fix proc macro server handling of strings with minuses
2025-06-11 06:08:54 +00:00
Ralf Jung
30f3725e0d
bump apfloat dependency
2025-06-11 07:54:08 +02:00
Urgau
208f2e461c
Remove useless and wrong std crates special casing when un-remap sysroot
2025-06-11 07:42:58 +02:00
Tshepang Mbambo
32560d790d
Merge pull request #2463 from rust-lang/tshepang-patch-1
...
that was phrased like a separate sentence
2025-06-11 07:15:36 +02:00
Tshepang Mbambo
dc41a1bd93
that was phrased like a separate sentence
2025-06-11 07:14:12 +02:00
Deven T. Corzine
32cb8f1537
Add trim_prefix and trim_suffix for slice and str.
...
Implements `trim_prefix` and `trim_suffix` methods for both `slice` and
`str` types which remove at most one occurrence of a prefix/suffix while
always returning a string/slice (rather than Option), enabling easy
method chaining.
2025-06-11 00:27:22 -04:00
Nicholas Nethercote
278f4b2d9c
Don't clone new_item in after_krate.
...
We can avoid it by using the `entry` API, which lets us do the
`assert_eq` comparison before `new_item` is consumed.
2025-06-11 13:52:50 +10:00
Nicholas Nethercote
79b3c08bdb
Avoid more clones in rustdoc JSON output.
...
By making `JsonRenderer::item` take `&clean::Item` instead of a
`clean::Item`. This required also changing `FromClean` and `IntoJson`
methods to take references, which required a lot of follow-on sigil
wrangling that is mostly tedious.
2025-06-11 13:48:43 +10:00
bors
2b0274c71d
Auto merge of #142090 - compiler-errors:perf-stable-root-var, r=lcnr
...
Make root vars more stable
Never resolve a ty/ct vid to a higher vid as its root. This should make the optimization in rust-lang/rust#141500 more "stable" when there are a lot of vars flying around.
r? `@ghost`
2025-06-11 03:34:30 +00:00
Shun Sakai
199b808870
feat: Add bit_width for unsigned integer types
2025-06-11 11:15:37 +09:00
bors
1c047506f9
Auto merge of #141883 - oli-obk:remove-check-mod-loops, r=nnethercote
...
Remove check_mod_loops query and run the checks per-body instead
This analysis is older than my first rustc contribution I believe. It was never querified. Ideally we'd merge it into the analysis happening within typeck anyway (typeck just uses span_delayed_bug instead of erroring), but I didn't want to do that within this PR that also moves things around and subtly changes diagnostic ordering.
2025-06-10 23:54:45 +00:00
Scott McMurray
ed06f361ac
Remove unneeded FunctionCx from some codegen methods
...
No changes; just removing the `self` that wasn't needed.
2025-06-10 16:50:17 -07:00
antoyo
b15114f46b
Merge pull request #702 from rust-lang/reenable-stdarch-test
...
Fix sysroot Cargo.lock
2025-06-10 18:52:30 -04:00
Chayim Refael Friedman
3c10e1a5f0
Fix proc macro server handling of strings with minuses
...
It used to decompose them thinking they were numbers.
2025-06-11 01:03:35 +03:00
Antoni Boucher
bb3ee766ca
Temporarily ignore the test u128-as-f32 to merge the fix of the sysroot Cargo.toml
2025-06-10 17:41:35 -04:00
cyrgani
296f9f2513
remove ice group pings from triagebot.toml
2025-06-10 23:16:07 +02:00
bors
1677d46cb1
Auto merge of #142292 - RalfJung:miri-sync, r=RalfJung
...
Miri subtree update
r? `@ghost`
2025-06-10 20:54:59 +00:00
David Carlier
1bbabb7ff7
std::net: adding unix_socket_exclbind feature for solaris/illumos.
...
allows to have a tigher control over the binding exclusivness of the
socket.
2025-06-10 19:44:45 +01:00
许杰友 Jieyou Xu (Joe)
aa0d277fd7
Merge pull request #2462 from lolbinarycat/patch-2
2025-06-11 02:26:34 +08:00
Guillaume Gomez
6f958ac88f
Remove unneeded check_id calls as they are already called in visit_id in EarlyContextAndPass type
2025-06-10 20:09:37 +02:00
bors
8ce2287586
Auto merge of #142299 - fmease:rollup-u86s80a, r=fmease
...
Rollup of 16 pull requests
Successful merges:
- rust-lang/rust#134442 (Specify the behavior of `file!`)
- rust-lang/rust#140372 (Exhaustively handle parsed attributes in CheckAttr)
- rust-lang/rust#140766 (Stabilize keylocker)
- rust-lang/rust#141642 (Note the version and PR of removed features when using it)
- rust-lang/rust#141818 (Don't create .msi installer for gnullvm hosts)
- rust-lang/rust#141909 (Add central execution context to bootstrap)
- rust-lang/rust#141992 (use `#[naked]` for `__rust_probestack`)
- rust-lang/rust#142101 (core::ptr: deduplicate more method docs)
- rust-lang/rust#142102 (docs: Small clarification on the usage of read_to_string and read_to_end trait methods)
- rust-lang/rust#142124 (Allow transmute casts in pre-runtime-MIR)
- rust-lang/rust#142240 (deduplicate the rest of AST walker functions)
- rust-lang/rust#142258 (platform-support.md: Mention specific Linux kernel version or later)
- rust-lang/rust#142262 (Mark `core::slice::memchr` as `#[doc(hidden)]`)
- rust-lang/rust#142271 (compiler: fn ptrs should hit different lints based on ABI)
- rust-lang/rust#142275 (rustdoc: Refractor `clean_ty_generics`)
- rust-lang/rust#142288 (const_eval: fix some outdated comments)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-10 17:51:43 +00:00
lolbinarycat
c0978c497d
Using git § I changed a submodule by accident: be explicit
...
Rewriting git history is something that is often difficult for new contributors,
and we're already explaining the `<foo>` placeholder syntax,
so I think it makes sense to be explicit about what exactly the paths mean.
2025-06-10 12:48:05 -05:00
Jakub Beránek
20e83257da
Improve documentation of the Rustc step and rename compiler to build_compiler in a few places
2025-06-10 19:44:06 +02:00
Jakub Beránek
f461997cff
Rename build to host_target
...
Host is the machine where bootstrap runs, and this field represents the target of the (host) stage0/beta compiler. This is much clearer than `build`, which also conflicts with the `Build` struct, which is stored under the name `build` inside `Builder` (lol).
2025-06-10 19:44:06 +02:00
Michael Goulet
6227acc749
Dont unwrap and re-wrap typing envs
2025-06-10 17:01:55 +00:00
Jieyou Xu
6f487586f8
Configure bootstrap backport nominations via triagebot
2025-06-11 00:26:03 +08:00
Antoni Boucher
96e9fbfdb6
Fix sysroot Cargo.lock
2025-06-10 11:52:33 -04:00
Pascal S. de Kloe
e9ebe25c66
format integer tests regrouped, min/max coverage and 128-bit coverage
2025-06-10 17:46:35 +02:00
Jieyou Xu
c558db34dc
Modify some run-make tests to use //@ needs-target-std
...
Instead of a jumble of `ignore-$target`s, `ignore-none` and
`ignore-nvptx`.
2025-06-10 23:31:05 +08:00
Gray Olson
2095211fb6
core docs: improve clarity of considerations about atomic CAS operations
...
- Rewords existing Considerations section on `fetch_update` and friends
to make clear that the limitations are inherent to an implementation based on any
CAS operation, rather than the weak version of `compare_exchange` in particular
- Add Considerations to `compare_exchange` and `compare_exchange_weak`
which details similar considerations and when they may be relevant.
2025-06-10 17:14:04 +02:00