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> {
1004
1004
/// process another codegen unit.
1005
1005
pub struct CguMessage ;
1006
1006
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
1008
1008
// 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 `.
1010
1010
// - `span`: it doesn't impl `Send`.
1011
1011
// - `suggestions`: it doesn't impl `Send`, and isn't used for codegen
1012
1012
// diagnostics.
@@ -1021,8 +1021,8 @@ struct Diagnostic {
1021
1021
args : DiagArgMap ,
1022
1022
}
1023
1023
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 `.
1026
1026
// - `span`: it doesn't impl `Send`.
1027
1027
pub struct Subdiagnostic {
1028
1028
level : Level ,
You can’t perform that action at this time.
0 commit comments