Represent parent error chains as a single Error
commit7c4aa8398ef2ce899e0710468b947e836860b2cc
authorShayne Fletcher <shaynefletcher@fb.com>
Tue, 1 Mar 2022 00:11:26 +0000 (28 16:11 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 1 Mar 2022 00:11:26 +0000 (28 16:11 -0800)
tree63fd902998d67c42d77745bfe1d73e8cabbfdaed
parent757116e6bcdeb1ab9c93fb0ab532d114bf9c5c2b
Represent parent error chains as a single Error

Summary: In folded_decl_provider::Error::Parent, represent the chain of ancestors leading to the decl in which we encountered the source error as a Vec, rather than a linked list of Error::Parent variants.

Differential Revision: D34489857

fbshipit-source-id: 283428faaae386033e7f7eab096d8df25fa5b28d
hphp/hack/src/rupro/decl_file.rs
hphp/hack/src/rupro/lib/folded_decl_provider/mod.rs
hphp/hack/src/rupro/lib/folded_decl_provider/provider.rs