1
Fork 0

Rename SubDiagnostic as Subdiag.

Note the change of the `D` to `d`, to match all the other names that
have `Subdiag` in them, such as `SubdiagnosticMessage` and
`derive(Subdiagnostic)`.
This commit is contained in:
Nicholas Nethercote 2024-02-23 06:42:05 +11:00
parent 366536ba2b
commit 4e1f9bd528
6 changed files with 23 additions and 27 deletions

View file

@ -1885,7 +1885,7 @@ impl SharedEmitterMain {
d.children = diag
.children
.into_iter()
.map(|sub| rustc_errors::SubDiagnostic {
.map(|sub| rustc_errors::Subdiag {
level: sub.level,
messages: sub.messages,
span: MultiSpan::new(),