diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-17 21:48:57 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-18 16:06:19 +1100 |
| commit | cde19c016e4608288a02f5bdec0b5330d474c26f (patch) | |
| tree | 09dd310cfaaa8c3909727f8015245c9090a9b5bd /compiler/rustc_macros/src | |
| parent | 321b6565a5f8ebf6f23622fc91ea1191a54f2a38 (diff) | |
| download | rust-cde19c016e4608288a02f5bdec0b5330d474c26f.tar.gz rust-cde19c016e4608288a02f5bdec0b5330d474c26f.zip | |
Rename `Handler` as `DiagCtxt`.
Diffstat (limited to 'compiler/rustc_macros/src')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/diagnostic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/diagnostic.rs b/compiler/rustc_macros/src/diagnostics/diagnostic.rs index cd61544f69d..9e498fb5af2 100644 --- a/compiler/rustc_macros/src/diagnostics/diagnostic.rs +++ b/compiler/rustc_macros/src/diagnostics/diagnostic.rs @@ -89,7 +89,7 @@ impl<'a> DiagnosticDerive<'a> { #[track_caller] fn into_diagnostic( self, - #handler: &'__diagnostic_handler_sess rustc_errors::Handler + #handler: &'__diagnostic_handler_sess rustc_errors::DiagCtxt ) -> rustc_errors::DiagnosticBuilder<'__diagnostic_handler_sess, G> { use rustc_errors::IntoDiagnosticArg; #implementation |
