flip1995 b423b85ca9
Don't trigger semicolon_if_nothing_returned in expanded code
Before this lint didn't trigger on macros. With rust-lang/rust#88175
this isn't enough anymore. In this PR a `WhileLoop` desugaring kind was
introduced. This overrides the span of expanded expressions when
lowering the while loop. So if a while loop is in a macro, the
expressions that it expands to are no longer marked with
`ExpnKind::Macro`, but with `ExpnKind::Desugaring`. In general, this is
the correct behavior and the same that is done for `ForLoop`s. It just
tripped up this lint.
2021-10-08 16:16:56 +02:00
..
2021-08-11 14:21:33 +00:00
2021-09-30 14:07:58 -05:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-06-18 16:11:32 +08:00
2021-06-18 16:11:32 +08:00
2021-06-18 16:11:32 +08:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-09-30 14:07:58 -05:00
2021-09-30 14:07:58 -05:00
2021-09-30 14:07:58 -05:00
2021-09-30 14:07:58 -05:00
2021-09-30 14:07:58 -05:00
2021-08-11 14:21:33 +00:00
2021-10-01 13:13:09 +08:00
2021-09-30 19:06:42 +08:00
2021-10-01 13:13:09 +08:00
2021-10-04 23:31:40 +09:00
2021-08-11 14:21:33 +00:00
2021-09-30 14:07:58 -05:00
2021-09-30 14:07:58 -05:00
2021-06-18 16:20:30 +08:00
2021-06-18 16:20:30 +08:00
2021-06-18 16:11:32 +08:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-09-30 14:07:58 -05:00
2021-09-30 14:07:58 -05:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-06-04 08:05:54 -04:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-07-27 16:26:50 -04:00
2021-07-27 16:26:50 -04:00
2021-07-27 16:26:50 -04:00
2021-07-27 16:26:50 -04:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00
2021-08-11 14:21:33 +00:00