rust/tests/ui/proc-macro/parse-invis-delim-issue-128895.rs
Nicholas Nethercote 46b4c5adc5 Fix bug in Parser::look_ahead.
The special case was failing to handle invisible delimiters on one path.

Fixes #128895.
2024-08-12 13:00:12 +10:00

15 lines
284 B
Rust

//@ aux-build:parse-invis-delim-issue-128895.rs
//@ check-pass
#![no_std] // Don't load unnecessary hygiene information from std
extern crate std;
#[macro_use]
extern crate parse_invis_delim_issue_128895;
trait Comparable {}
parse_invis_delim_issue_128895::main!();
fn main() {}