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:
commit
2ced8b31c7
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