Files
rust/compiler
Nicholas Nethercote 04391045d0 Remove Path::is_ident.
It checks that a path has a single segment that matches the given
symbol, and that there are zero generic arguments. It has a single use.

We also have `impl PartialEq<Symbol> for Path` which does exactly the
same thing *except* it doesn't check for zero generic arguments, which
seems like an oversight. It has numerous uses.

This commit removes `Path::is_ident`, adds a test for zero generic
arguments to `PartialEq<Symbol> for Path`, and changes the single use of
`is_ident` to instead use `==`.
2025-06-03 15:21:33 +10:00
..
2025-06-03 15:21:33 +10:00
2025-05-30 02:28:35 +10:00
2025-05-28 15:14:34 +01:00
2025-05-27 14:11:14 +03:00
2025-05-28 15:14:34 +01:00
2025-05-27 14:11:14 +03:00
2025-05-30 02:28:35 +10:00
2025-05-30 02:28:35 +10:00
2025-04-15 10:44:28 -04:00
2025-05-12 15:33:37 +02:00
2025-06-03 15:21:33 +10:00
2025-05-27 11:14:45 +00:00
2025-05-27 11:14:45 +00:00