diff options
| author | Urgau <urgau@numericable.fr> | 2025-10-03 11:57:04 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-10-03 17:04:17 +0200 |
| commit | e914a1a6e026d2c9db43300735a75ba25746e14c (patch) | |
| tree | 3cb39c7bfbb76961bf9af6d25f2018896465f385 /src | |
| parent | 3d5f54ad55a32c0f53271597145b5cd7bae9c3e2 (diff) | |
| download | rust-e914a1a6e026d2c9db43300735a75ba25746e14c.tar.gz rust-e914a1a6e026d2c9db43300735a75ba25746e14c.zip | |
Respect `--error-format` in `rustdoc --test`
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/doctest.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/doctest.rs b/src/librustdoc/doctest.rs index 38a0c925d2a..27761511038 100644 --- a/src/librustdoc/doctest.rs +++ b/src/librustdoc/doctest.rs @@ -174,6 +174,7 @@ pub(crate) fn run(dcx: DiagCtxtHandle<'_>, input: Input, options: RustdocOptions crate_name: options.crate_name.clone(), remap_path_prefix: options.remap_path_prefix.clone(), unstable_opts: options.unstable_opts.clone(), + error_format: options.error_format.clone(), ..config::Options::default() }; |
