diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-18 06:21:26 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-18 16:06:21 +1100 |
| commit | 09af8a667c0fa456bbe62fa462f4b0f42f2845ec (patch) | |
| tree | 529aace2e7aef269509df93408bb13d189a575bf /compiler/rustc_interface/src/queries.rs | |
| parent | 9df1576e1d477cfbfb4f39e779ce48552f9c28da (diff) | |
| download | rust-09af8a667c0fa456bbe62fa462f4b0f42f2845ec.tar.gz rust-09af8a667c0fa456bbe62fa462f4b0f42f2845ec.zip | |
Rename `Session::span_diagnostic` as `Session::dcx`.
Diffstat (limited to 'compiler/rustc_interface/src/queries.rs')
| -rw-r--r-- | compiler/rustc_interface/src/queries.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/queries.rs b/compiler/rustc_interface/src/queries.rs index e9611c74a68..8a553b95e8e 100644 --- a/compiler/rustc_interface/src/queries.rs +++ b/compiler/rustc_interface/src/queries.rs @@ -228,7 +228,7 @@ impl<'tcx> Queries<'tcx> { // If we have any delayed bugs, for example because we created TyKind::Error earlier, // it's likely that codegen will only cause more ICEs, obscuring the original problem - self.compiler.sess.diagnostic().flush_delayed(); + self.compiler.sess.dcx().flush_delayed(); // Hook for UI tests. Self::check_for_rustc_errors_attr(tcx); |
