diff options
| author | Urgau <urgau@numericable.fr> | 2025-10-03 11:27:57 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-10-03 12:05:31 +0200 |
| commit | 3d5f54ad55a32c0f53271597145b5cd7bae9c3e2 (patch) | |
| tree | f6f04866fed0c2636c29d44e8244042df7a0b6ec /tests/rustdoc-ui/doctest/warn-main-not-called.stderr | |
| parent | 9642c0ef6749e57ce76ac153807df1cc38cd26ee (diff) | |
| download | rust-3d5f54ad55a32c0f53271597145b5cd7bae9c3e2.tar.gz rust-3d5f54ad55a32c0f53271597145b5cd7bae9c3e2.zip | |
Respect `-Z` unstable options in `rustdoc --test`
Diffstat (limited to 'tests/rustdoc-ui/doctest/warn-main-not-called.stderr')
| -rw-r--r-- | tests/rustdoc-ui/doctest/warn-main-not-called.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-ui/doctest/warn-main-not-called.stderr b/tests/rustdoc-ui/doctest/warn-main-not-called.stderr index 3a079f47555..b5b7bc57644 100644 --- a/tests/rustdoc-ui/doctest/warn-main-not-called.stderr +++ b/tests/rustdoc-ui/doctest/warn-main-not-called.stderr @@ -1,13 +1,13 @@ 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/warn-main-not-called.rs:10:1 | -10 | //! ``` +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/warn-main-not-called.rs:19:1 | -19 | //! ``` +LL | //! ``` | ^^^^^^^ warning: 2 warnings emitted |
