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:
parent
33c245b9e9
commit
40c964510c
3 changed files with 11 additions and 12 deletions
|
@ -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" }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue