]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebank
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Mon, 22 Aug 2022 15:04:14 +0000 (20:34 +0530)
committerGitHub <noreply@github.com>
Mon, 22 Aug 2022 15:04:14 +0000 (20:34 +0530)
commit75b7089d1efbb80c810ce906ff96a9da8bdd9a9c
treefbe35f9d2dd20ab744c858c5975f8cd61230dab0
parent14c8a68e49aee6aaa095f0bfdbe441c20c1a3dd8
parentffcaa0dee23f60637b74d389470a1d39cfda28ac
Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebank

Convert diagnostics in parser/expr to SessionDiagnostic

This migrates all the easy cases in `rustc_parse::parser::expr` to `SessionDiagnostic`s, I've left things such as `multipart_suggestion`s out for now in the hopes of a derive API being developed soon.
compiler/rustc_parse/src/parser/diagnostics.rs
compiler/rustc_parse/src/parser/expr.rs