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 @@ -1004,9 +1004,9 @@ pub(crate) enum Message<B: WriteBackendMethods> {
10041004/// process another codegen unit.
10051005pub struct CguMessage ;
10061006
1007- // A cut-down version of `rustc_errors::Diagnostic ` that impls `Send`, which
1007+ // A cut-down version of `rustc_errors::DiagInner ` that impls `Send`, which
10081008// can be used to send diagnostics from codegen threads to the main thread.
1009- // It's missing the following fields from `rustc_errors::Diagnostic `.
1009+ // It's missing the following fields from `rustc_errors::DiagInner `.
10101010// - `span`: it doesn't impl `Send`.
10111011// - `suggestions`: it doesn't impl `Send`, and isn't used for codegen
10121012// diagnostics.
@@ -1021,8 +1021,8 @@ struct Diagnostic {
10211021 args : DiagArgMap ,
10221022}
10231023
1024- // A cut-down version of `rustc_errors::SubDiagnostic ` that impls `Send`. It's
1025- // missing the following fields from `rustc_errors::SubDiagnostic `.
1024+ // A cut-down version of `rustc_errors::Subdiag ` that impls `Send`. It's
1025+ // missing the following fields from `rustc_errors::Subdiag `.
10261026// - `span`: it doesn't impl `Send`.
10271027pub struct Subdiagnostic {
10281028 level : Level ,
You can’t perform that action at this time.
0 commit comments