You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#134470 - jieyouxu:rollup-kld7kmk, r=jieyouxu
Rollup of 11 pull requests
Successful merges:
- rust-lang#130786 ( mir-opt: a sub-BB of a cleanup BB must also be a cleanup BB in `EarlyOtherwiseBranch`)
- rust-lang#133926 (Fix const conditions for RPITITs)
- rust-lang#134161 (Overhaul token cursors)
- rust-lang#134253 (Overhaul keyword handling)
- rust-lang#134394 (Clarify the match ergonomics 2024 migration lint's output)
- rust-lang#134399 (Do not do if ! else, use unnegated cond and swap the branches instead)
- rust-lang#134420 (refactor: replace &PathBuf with &Path to enhance generality)
- rust-lang#134436 (tests/assembly/asm: Remove uses of rustc_attrs and lang_items features by using minicore)
- rust-lang#134444 (Fix `x build --stage 1 std` when using cg_cranelift as the default backend)
- rust-lang#134452 (fix(LazyCell): documentation of get[_mut] was wrong)
- rust-lang#134460 (Merge some patterns together)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardexpand all lines: compiler/rustc_ast/src/token.rs
+7-1
Original file line number
Diff line number
Diff line change
@@ -903,7 +903,8 @@ impl Token {
903
903
self.is_non_raw_ident_where(|id| id.name == kw)
904
904
}
905
905
906
-
/// Returns `true` if the token is a given keyword, `kw` or if `case` is `Insensitive` and this token is an identifier equal to `kw` ignoring the case.
906
+
/// Returns `true` if the token is a given keyword, `kw` or if `case` is `Insensitive` and this
907
+
/// token is an identifier equal to `kw` ignoring the case.
0 commit comments