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:
parent
366536ba2b
commit
4e1f9bd528
6 changed files with 23 additions and 27 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue