Use a newtype for Line
commit7a4cdefacbf295eb9dd306473f06c4d8143433d8
authorAaron Orenstein <aorenste@meta.com>
Fri, 14 Oct 2022 22:28:05 +0000 (14 15:28 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Oct 2022 22:28:05 +0000 (14 15:28 -0700)
tree04dbab11e5fa519688f6e44707ae4be60d9c506a
parentf1e154612825ee21c9b1306d973677020758a47d
Use a newtype for Line

Summary:
Replace the Line type alias with a newtype.

- Also cleaned up impl Display for Token.

Reviewed By: edwinsmith

Differential Revision: D40270774

fbshipit-source-id: 0d616c76ab163ce21be2cfa054a6b7a8c8cd123a
hphp/hack/src/Cargo.lock
hphp/hack/src/hackc/assemble/assemble.rs
hphp/hack/src/hackc/assemble/lexer.rs
hphp/hack/src/hackc/assemble/token.rs
hphp/hack/src/hackc/cargo/assemble/Cargo.toml