]> git.lizzy.rs Git - rust.git/commit
Create `StructuredDiagnostic`
authorEsteban Küber <esteban@kuber.com.ar>
Tue, 23 Jan 2018 02:07:35 +0000 (18:07 -0800)
committerEsteban Küber <esteban@kuber.com.ar>
Tue, 23 Jan 2018 19:01:38 +0000 (11:01 -0800)
commit3dac0f5a9ce8864a06916d3e8017a9b2c5262ae7
tree0eedc24351ba95d4d2b1e0b7330a208218b5a604
parent7d41cbad6a34976e3d6d0321ba1d4c433e24e21c
Create `StructuredDiagnostic`

Create the concept of an `StructuredDiagnostic` that is self-contained
with enough knowledge of all variables to create a `DiagnosticBuilder`,
including different possible versions (one line output and expanded
explanations).
src/librustc/session/mod.rs
src/librustc_typeck/check/cast.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/lib.rs
src/librustc_typeck/structured_errors.rs [new file with mode: 0644]