Fix suggestions for names captured by formatting macros - #162787
rust-bors[bot] merged 3 commits into
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…fields, r=<try> Fix suggestions for names captured by formatting macros
This comment has been minimized.
This comment has been minimized.
e20cdd1 to
10874a5
Compare
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (6316d90): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary 2.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -3.2%, secondary -2.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 496.664s -> 496.202s (-0.09%) |
|
cc @rust-lang/clippy |
|
seems perf is not affected, maybe r? @estebank |
|
btw, when you write |
Thanks for the reminding! |
| (err, candidates) | ||
| } | ||
|
|
||
| /// Captures only accept identifiers, so put the suggested expression in a named argument. |
There was a problem hiding this comment.
An example of the resulting rendered suggestion in the method can be useful when skimming.
|
@bors r+ |
…uwer Rollup of 7 pull requests Successful merges: - #161873 (move bug and span_bug macros to rustc_span) - #162584 (Use File::*lock*() in rustc_data_structures::flock when possible) - #162704 (Parser: Uninterpolate when checking for const closures, try bikeshed blocks & in relevant diagnostic code) - #162787 (Fix suggestions for names captured by formatting macros) - #159562 (Windows: cache the stdio write mode for the duration of a lock session) - #162813 (Pre lint port cleanups) - #162822 (PassWrapper: adapt for removal of EABIVersion arg in LLVM 24)
Fixes #105520
also improve #141136.
but still can not handle #96999.
r? @ghost