File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/rustc_codegen_ssa/src/back Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -999,9 +999,9 @@ pub(crate) enum Message<B: WriteBackendMethods> {
999999/// process another codegen unit.
10001000pub struct CguMessage ;
10011001
1002- // A cut-down version of `rustc_errors::Diagnostic ` that impls `Send`, which
1002+ // A cut-down version of `rustc_errors::DiagInner ` that impls `Send`, which
10031003// can be used to send diagnostics from codegen threads to the main thread.
1004- // It's missing the following fields from `rustc_errors::Diagnostic `.
1004+ // It's missing the following fields from `rustc_errors::DiagInner `.
10051005// - `span`: it doesn't impl `Send`.
10061006// - `suggestions`: it doesn't impl `Send`, and isn't used for codegen
10071007// diagnostics.
@@ -1016,8 +1016,8 @@ struct Diagnostic {
10161016 args : DiagArgMap ,
10171017}
10181018
1019- // A cut-down version of `rustc_errors::SubDiagnostic ` that impls `Send`. It's
1020- // missing the following fields from `rustc_errors::SubDiagnostic `.
1019+ // A cut-down version of `rustc_errors::Subdiag ` that impls `Send`. It's
1020+ // missing the following fields from `rustc_errors::Subdiag `.
10211021// - `span`: it doesn't impl `Send`.
10221022pub struct Subdiagnostic {
10231023 level : Level ,
You can’t perform that action at this time.
0 commit comments