rust/compiler/rustc_parse/src/parser
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
..
mut_visit Reformat use declarations. 2024-07-29 08:26:52 +10:00
tokenstream Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
attr.rs Rollup merge of #128524 - chenyukang:yukang-fix-127930-invalid-outer-style-sugg, r=cjgillot 2024-08-24 21:03:31 -05:00
attr_wrapper.rs Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkov 2024-09-23 07:54:44 -07:00
diagnostics.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
expr.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
generics.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
item.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
mod.rs Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkov 2024-09-23 07:54:44 -07:00
nonterminal.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
pat.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
path.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
stmt.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
tests.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ty.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00