rust/compiler/rustc_ast/src
Jubilee 515bdcda01
Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkov
Fix `break_last_token`.

It currently doesn't handle the three-char tokens `>>=` and `<<=` correctly. These can be broken twice, resulting in three individual tokens. This is a latent bug that currently doesn't cause any problems, but does cause problems for #124141, because that PR increases the usage of lazy token streams.

r? `@petrochenkov`
2024-09-23 07:54:44 -07:00
..
attr Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
expand Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
util Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ast_traits.rs Remove needless returns detected by clippy in the compiler 2024-09-09 13:32:22 +02:00
ast.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
entry.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
format.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lib.rs Add warn(unreachable_pub) to several crates. 2024-08-16 08:46:13 +10:00
mut_visit.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
token.rs Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkov 2024-09-23 07:54:44 -07:00
tokenstream.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
visit.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00