Rollup merge of #134187 - nnethercote:rm-PErr, r=jieyouxu

Remove `PErr`.

It's just a synonym for `Diag` that adds no value and is only used in a few places.

r? ``@spastorino``
This commit is contained in:
Matthias Krüger 2024-12-12 08:07:05 +01:00 committed by GitHub
commit 2ced8b31c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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" }