rust/compiler/rustc_parse
Nilstrieb d72a0c437b Properly calculate best failure in macro matching
Previously, we used spans. This was not good. Sometimes, the span of the
token that failed to match may come from a position later in the file
which has been transcribed into a token stream way earlier in the file.
If precisely this token fails to match, we think that it was the best
match because its span is so high, even though other arms might have
gotten further in the token stream.

We now try to properly use the location in the token stream.
2022-12-12 17:05:27 +01:00
..
src Properly calculate best failure in macro matching 2022-12-12 17:05:27 +01:00
Cargo.toml Use ThinVec in ast::Path. 2022-11-17 13:56:38 +11:00