Skip to content

Commit dc8ebc1

Browse files
committed
Auto merge of #123708 - matthiaskrgr:rollup-uf9w1e9, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #121884 (Port exit-code run-make test to use rust) - #122200 (Unconditionally show update nightly hint on ICE) - #123568 (Clean up tests/ui by removing `does-nothing.rs`) - #123609 (Don't use bytepos offsets when computing semicolon span for removal) - #123612 (Set target-abi module flag for RISC-V targets) - #123633 (Store all args in the unsupported Command implementation) - #123668 (async closure coroutine by move body MirPass refactoring) Failed merges: - #123701 (Only assert for child/parent projection compatibility AFTER checking that theyre coming from the same place) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 9ac2565 + c0906ce commit dc8ebc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clippy_lints/src/lifetimes.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ fn elision_suggestions(
294294
let span = cx
295295
.sess()
296296
.source_map()
297-
.span_extend_while(usage.ident.span, |ch| ch.is_ascii_whitespace())
298-
.unwrap_or(usage.ident.span);
297+
.span_extend_while_whitespace(usage.ident.span);
299298

300299
(span, String::new())
301300
},

0 commit comments

Comments
 (0)