Remove PErr.

It's just a synonym for `Diag` that adds no value and is only used in a
few places.
This commit is contained in:
Nicholas Nethercote 2024-12-12 11:31:10 +11:00
parent 33c245b9e9
commit 40c964510c
3 changed files with 11 additions and 12 deletions

View file

@ -94,8 +94,7 @@ mod styled_buffer;
mod tests;
pub mod translation;
pub type PErr<'a> = Diag<'a>;
pub type PResult<'a, T> = Result<T, PErr<'a>>;
pub type PResult<'a, T> = Result<T, Diag<'a>>;
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }