about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-23 06:42:05 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-28 08:33:25 +1100
commit4e1f9bd528aef7215bb3b446fcdf43368371da37 (patch)
tree4d8d3d243ee27967a7c284fd81eb2dd73eb8cba9 /compiler/rustc_codegen_ssa/src
parent366536ba2beda7cd5197e76c7c918066ffe5ad40 (diff)
downloadrust-4e1f9bd528aef7215bb3b446fcdf43368371da37.tar.gz
rust-4e1f9bd528aef7215bb3b446fcdf43368371da37.zip
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)`.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/back/write.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs
index cfe92f77de4..e41cc2cb12e 100644
--- a/compiler/rustc_codegen_ssa/src/back/write.rs
+++ b/compiler/rustc_codegen_ssa/src/back/write.rs
@@ -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(),