about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest/test-compile-fail1.stderr
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2025-10-03 11:27:57 +0200
committerUrgau <urgau@numericable.fr>2025-10-03 12:05:31 +0200
commit3d5f54ad55a32c0f53271597145b5cd7bae9c3e2 (patch)
treef6f04866fed0c2636c29d44e8244042df7a0b6ec /tests/rustdoc-ui/doctest/test-compile-fail1.stderr
parent9642c0ef6749e57ce76ac153807df1cc38cd26ee (diff)
downloadrust-3d5f54ad55a32c0f53271597145b5cd7bae9c3e2.tar.gz
rust-3d5f54ad55a32c0f53271597145b5cd7bae9c3e2.zip
Respect `-Z` unstable options in `rustdoc --test`
Diffstat (limited to 'tests/rustdoc-ui/doctest/test-compile-fail1.stderr')
-rw-r--r--tests/rustdoc-ui/doctest/test-compile-fail1.stderr18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/rustdoc-ui/doctest/test-compile-fail1.stderr b/tests/rustdoc-ui/doctest/test-compile-fail1.stderr
index 02f4d8d754f..aa5cc2e14d6 100644
--- a/tests/rustdoc-ui/doctest/test-compile-fail1.stderr
+++ b/tests/rustdoc-ui/doctest/test-compile-fail1.stderr
@@ -1,13 +1,13 @@
 error[E0428]: the name `f` is defined multiple times
- --> $DIR/test-compile-fail1.rs:8:1
-  |
-6 | pub fn f() {}
-  | ---------- previous definition of the value `f` here
-7 |
-8 | pub fn f() {}
-  | ^^^^^^^^^^ `f` redefined here
-  |
-  = note: `f` must be defined only once in the value namespace of this module
+  --> $DIR/test-compile-fail1.rs:8:1
+   |
+LL | pub fn f() {}
+   | ---------- previous definition of the value `f` here
+LL |
+LL | pub fn f() {}
+   | ^^^^^^^^^^ `f` redefined here
+   |
+   = note: `f` must be defined only once in the value namespace of this module
 
 error: aborting due to 1 previous error