Housekeeping: RelativePathCtx -> utils/rust, impl Display+FromStr for errors::Format
commitb5f3428c7c2088f6336077f3cdb7fc6c0f542a77
authorEdwin Smith <smith@meta.com>
Tue, 13 Dec 2022 13:35:00 +0000 (13 05:35 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 13 Dec 2022 13:35:00 +0000 (13 05:35 -0800)
tree62fb2b8e745306b283e36681b961aa78cf704697
parentdccc8b7913d8603c60fe7914f5cea43037f5f46b
Housekeeping: RelativePathCtx -> utils/rust, impl Display+FromStr for errors::Format

Summary:
This way rc_pos::RelativePath can implement to_absolute(), which hh_distc needs
for json-formatted error output.

Reviewed By: nt591

Differential Revision: D41917520

fbshipit-source-id: 5339d5559d48218e247919d65475e4547cf327a5
hphp/hack/src/hackrs/pos/relative_path.rs
hphp/hack/src/oxidized/manual/errors_impl.rs
hphp/hack/src/utils/rust/relative_path.rs