Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
02ac116
Fix tests for big-endian
fneddy Jul 29, 2025
2db126d
Include whitespace in "remove `|`" suggestion and make it hidden
estebank Mar 1, 2025
38df158
cfg_select: Support unbraced expressions
joshtriplett Aug 10, 2025
e6dddcb
Store bootstrap tracing outputs to a unified directory
Kobzol Aug 10, 2025
c97b606
Store `latest` symlink to the latest tracing output directory
Kobzol Aug 10, 2025
f819729
Store Chrome step trace into the tracing directory
Kobzol Aug 10, 2025
aad5795
Use shorter command span label
Kobzol Aug 10, 2025
3a115ba
Print step timings also when the stap starts to execute
Kobzol Aug 10, 2025
c846f7c
Replace `tracing_forest` with custom span formatting
Kobzol Aug 11, 2025
1e14229
Create a span for each executed step
Kobzol Aug 11, 2025
690c781
Remove ad-hoc print of executed/cached steps in verbose mode
Kobzol Aug 11, 2025
d403934
Remove manual `#[instrument]` annotations on steps
Kobzol Aug 11, 2025
604c180
Move tracing setup to the `tracing` module
Kobzol Aug 11, 2025
c3682b2
Correctly show executed command name in Chrome trace
Kobzol Aug 11, 2025
b4a357f
Always profile commands and generate Chrome profile when tracing is e…
Kobzol Aug 11, 2025
f9a4588
Do not create a span for cached commands
Kobzol Aug 11, 2025
12828f7
Create tracing directory symlink even during dry run
Kobzol Aug 11, 2025
3e77562
Use `pretty_step_name` in `step_graph`
Kobzol Aug 11, 2025
a0306bf
Update debugging/profiling bootstrap page
Kobzol Aug 11, 2025
6f584bc
Print created location of executed commands
Kobzol Aug 11, 2025
0b8c6ad
Remove one dependency from tracing bootstrap build
Kobzol Aug 12, 2025
ebcbcc8
bootstrap: Fix jemalloc 64K page support for aarch64 tools
CathalMullan Aug 13, 2025
d10a8a3
bootstrap: Support passing `--timings` to cargo
joshtriplett Aug 14, 2025
3ecea53
bootstrap: Update completions for new --timings argument
joshtriplett Aug 14, 2025
f382d54
Remove `ONLY_HOSTS` value overrides that just set the default value a…
Kobzol Aug 12, 2025
e08c755
Rename and document `ONLY_HOSTS` in bootstrap
Kobzol Aug 12, 2025
1a226e0
rustc-dev-guide :3
lcnr Aug 14, 2025
eba1596
Use `default_field_values` in `Resolver`
estebank Jul 12, 2025
b67cd4c
cleanup: Remove useless `[T].iter().last()`
estebank Aug 14, 2025
65d329d
Adjust error message grammar to be less awkward
shepmaster Aug 14, 2025
18afb69
Rollup merge of #137872 - estebank:extra-vert, r=compiler-errors
Kobzol Aug 14, 2025
fadd083
Rollup merge of #144631 - fneddy:fix_be_test_intrinsic_const_bad, r=c…
Kobzol Aug 14, 2025
01bd889
Rollup merge of #145233 - joshtriplett:cfg-select-expr, r=jieyouxu
Kobzol Aug 14, 2025
ebd4a10
Rollup merge of #145261 - Kobzol:bootstrap-tracing, r=jieyouxu
Kobzol Aug 14, 2025
06246bf
Rollup merge of #145324 - Kobzol:bootstrap-host-only, r=jieyouxu
Kobzol Aug 14, 2025
55f2234
Rollup merge of #145353 - CathalMullan:jemalloc-tools, r=Kobzol
Kobzol Aug 14, 2025
86c25f8
Rollup merge of #145379 - joshtriplett:bootstrap-timings, r=jieyouxu
Kobzol Aug 14, 2025
1eda78f
Rollup merge of #145397 - lcnr:lcnr/rustc-dev-guide-3, r=BoxyUwU
Kobzol Aug 14, 2025
93e895b
Rollup merge of #145398 - estebank:use-default-fields-resolver, r=pet…
Kobzol Aug 14, 2025
603ee15
Rollup merge of #145401 - estebank:remove-useless-iter, r=compiler-er…
Kobzol Aug 14, 2025
0698921
Rollup merge of #145403 - shepmaster:grammar, r=estebank
Kobzol Aug 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust error message grammar to be less awkward
  • Loading branch information
shepmaster committed Aug 14, 2025
commit 65d329d189651f5f4612e87132ca6c041cf61ab4
2 changes: 1 addition & 1 deletion compiler/rustc_borrowck/src/diagnostics/move_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {
.with_span_help(
self.get_closure_bound_clause_span(*def_id),
"`Fn` and `FnMut` closures require captured values to be able to be \
consumed multiple times, but an `FnOnce` consume them only once",
consumed multiple times, but `FnOnce` closures may consume them only once",
)
}
_ => {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/borrowck/borrowck-in-static.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LL | Box::new(|| x)
| |
| captured by this `Fn` closure
|
= help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
= help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
help: consider cloning the value if the performance cost is acceptable
|
LL | Box::new(|| x.clone())
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/borrowck/borrowck-move-by-capture.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LL | let _h = to_fn_once(move || -> isize { *bar });
| |
| `bar` is moved here
|
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
--> $DIR/borrowck-move-by-capture.rs:3:37
|
LL | fn to_fn_mut<A:std::marker::Tuple,F:FnMut<A>>(f: F) -> F { f }
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/borrowck/issue-103624.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LL |
LL | self.b;
| ^^^^^^ `self.b` is moved here
|
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
--> $DIR/issue-103624.rs:7:36
|
LL | async fn spawn_blocking<T>(f: impl (Fn() -> T) + Send + Sync + 'static) -> T {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/borrowck/issue-87456-point-to-closure.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LL |
LL | let _foo: String = val;
| ^^^ move occurs because `val` has type `String`, which does not implement the `Copy` trait
|
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
--> $DIR/issue-87456-point-to-closure.rs:3:24
|
LL | fn take_mut(_val: impl FnMut()) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LL | y.into_iter();
| |
| move occurs because `y` has type `Vec<String>`, which does not implement the `Copy` trait
|
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
--> $DIR/unboxed-closures-move-upvar-from-non-once-ref-closure.rs:5:28
|
LL | fn call<F>(f: F) where F : Fn() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/issues/issue-4335.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LL | id(Box::new(|| *v))
| |
| captured by this `FnMut` closure
|
= help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
= help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
help: if `T` implemented `Clone`, you could clone the value
--> $DIR/issue-4335.rs:5:10
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LL | let _f = to_fn(|| test(i));
| |
| captured by this `Fn` closure
|
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
--> $DIR/moves-based-on-type-move-out-of-closure-env-issue-1965.rs:3:33
|
LL | fn to_fn<A:std::marker::Tuple,F:Fn<A>>(f: F) -> F { f }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LL | expect_fn(|| drop(x.0));
| |
| captured by this `Fn` closure
|
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
--> $DIR/issue-52663-span-decl-captured-variable.rs:1:33
|
LL | fn expect_fn<F>(f: F) where F : Fn() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/span/borrowck-call-is-borrow-issue-12224.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ LL |
LL | foo(f);
| ^ move occurs because `f` has type `{closure@$DIR/borrowck-call-is-borrow-issue-12224.rs:52:17: 52:58}`, which does not implement the `Copy` trait
|
= help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but an `FnOnce` consume them only once
= help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
help: consider cloning the value if the performance cost is acceptable
|
LL | foo(f.clone());
Expand Down
Loading
Loading