This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11//@ check-pass
22//@ compile-flags: --test --test-args=--test-threads=1 -Zunstable-options --edition 2024
33//@ normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
4- //@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
5- //@ normalize-stdout-test ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
4+ //@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
5+ //@ normalize-stdout-test: ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
66
77/// ```
88/// let x = 12;
Original file line number Diff line number Diff line change 11//@ check-pass
22//@ compile-flags: --test --test-args=--test-threads=1 -Zunstable-options --edition 2024
33//@ normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
4- //@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
5- //@ normalize-stdout-test ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
4+ //@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
5+ //@ normalize-stdout-test: ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
66
77/// This doctest is used to ensure that if a crate attribute is present,
88/// it will not be part of the merged doctests.
Original file line number Diff line number Diff line change 33
44//@ compile-flags:--test --edition 2021
55//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
6- //@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
6+ //@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
77//@ failure-status: 101
88
99/// ```should_panic
Original file line number Diff line number Diff line change 11//@ compile-flags:--test --test-args=--test-threads=1 -Zunstable-options --edition 2024
22//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
3- //@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
3+ //@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
44//@ check-pass
55
66/// ```ignore (test)
Original file line number Diff line number Diff line change 11//@ compile-flags:--test --test-args=--test-threads=1 -Zunstable-options --edition 2024
22//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
3- //@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
4- //@ normalize-stdout-test ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
3+ //@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
4+ //@ normalize-stdout-test: ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
55//@ failure-status: 101
66
77/// ```
Original file line number Diff line number Diff line change 11//@ compile-flags:--test --test-args=--test-threads=1
22//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
3- //@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
3+ //@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
44//@ failure-status: 101
55
66/// ```
You can’t perform that action at this time.
0 commit comments