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 /tests/rustdoc-ui/doctest/main-alongside-stmts.stderr | |
| parent | 3d5f54ad55a32c0f53271597145b5cd7bae9c3e2 (diff) | |
| download | rust-e914a1a6e026d2c9db43300735a75ba25746e14c.tar.gz rust-e914a1a6e026d2c9db43300735a75ba25746e14c.zip | |
Respect `--error-format` in `rustdoc --test`
Diffstat (limited to 'tests/rustdoc-ui/doctest/main-alongside-stmts.stderr')
| -rw-r--r-- | tests/rustdoc-ui/doctest/main-alongside-stmts.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc-ui/doctest/main-alongside-stmts.stderr b/tests/rustdoc-ui/doctest/main-alongside-stmts.stderr index 3f347d96ab0..b7a5421f8f7 100644 --- a/tests/rustdoc-ui/doctest/main-alongside-stmts.stderr +++ b/tests/rustdoc-ui/doctest/main-alongside-stmts.stderr @@ -1,14 +1,14 @@ warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function - --> $DIR/main-alongside-stmts.rs:17:1 + --> $DIR/main-alongside-stmts.rs:18:1 | LL | //! ``` | ^^^^^^^ warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function - --> $DIR/main-alongside-stmts.rs:26:1 + --> $DIR/main-alongside-stmts.rs:27:1 | -LL | //! ``` - | ^^^^^^^ +LL | //! + | ^^^ warning: 2 warnings emitted |
