Open
Description
Hi!
I've been poking around at using rowan for a project, and I was wondering what the logic for Lang & Kind being Ord
was. It's not a massive burden (like... #[derive(PartialOrd, Ord)]
is pretty easy :-P) but it feels a bit strange for me to make my SyntaxKind
Ord
when it's shouldn't really be compared like that (like, what does Identifier > Operator
mean). Tried cargo build --examples
and cargo test
w/o it and nothing seemed to fail to compile (also tried cargo build
on rust-analyzer itself with the dep pointed to the local copy, and it seemed to build fine), so that got me curious as to what the original logic was.
Metadata
Metadata
Assignees
Labels
No labels