mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
530c69bbc2
When checking whether the current token is a function indentifier by inspecting the syntax, do not attempt to access past the end of the code buffer.
4 lines
154 B
Rust
4 lines
154 B
Rust
//@ compile-flags: --explain E0602 --color always --error-format=human
|
|
//@ check-pass
|
|
// Ensure that we trigger the condition for #156326 without ICEing.
|