diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-29 15:37:38 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-29 17:50:23 +1100 |
| commit | 067d7c3d00a05989bd4b7d4b5648d61748f80848 (patch) | |
| tree | 7549190b9caba8c9713aff4d7e3fed7c1cfb5162 /compiler/rustc_errors/src/json | |
| parent | 437325bdd4e5fc54b0f78491e63fa386ebfffbba (diff) | |
| download | rust-067d7c3d00a05989bd4b7d4b5648d61748f80848.tar.gz rust-067d7c3d00a05989bd4b7d4b5648d61748f80848.zip | |
Inline and remove `HumanEmitter::stderr`.
Because `HumanEmitter::new` is enough, in conjunction with the (renamed) `stderr_destination` function.
Diffstat (limited to 'compiler/rustc_errors/src/json')
| -rw-r--r-- | compiler/rustc_errors/src/json/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/json/tests.rs b/compiler/rustc_errors/src/json/tests.rs index e541f4ca7d4..fc9948cb2fc 100644 --- a/compiler/rustc_errors/src/json/tests.rs +++ b/compiler/rustc_errors/src/json/tests.rs @@ -1,6 +1,7 @@ use super::*; use crate::DiagCtxt; +use rustc_span::source_map::FilePathMapping; use rustc_span::BytePos; use std::str; |
