Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// flag.

//@ compile-flags:-Z unstable-options --output-format=doctest
//@ normalize-stdout: "tests/rustdoc-ui" -> "$$DIR"
//@ normalize-stdout: "tests/rustdoc-ui/output-format" -> "$$DIR"
//@ normalize-stdout: "[A-Z]:[\\/](?:[^\\/]+[\\/])*?\$DIR" -> "$$DIR"
//@ check-pass

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// flag.

//@ compile-flags:-Z unstable-options --output-format=doctest
//@ normalize-stdout: "tests/rustdoc-ui" -> "$$DIR"
//@ normalize-stdout: "tests/rustdoc-ui/output-format" -> "$$DIR"
//@ normalize-stdout: "[A-Z]:[\\/](?:[^\\/]+[\\/])*?\$DIR" -> "$$DIR"
//@ check-pass

Expand Down
22 changes: 0 additions & 22 deletions tests/rustdoc-ui/remap-path-prefix-failed-doctest-output.stdout

This file was deleted.

22 changes: 0 additions & 22 deletions tests/rustdoc-ui/remap-path-prefix-invalid-doctest.stdout

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

running 1 test
test remapped_path/remap-path-prefix-doctest.rs - SomeStruct (line 19) ... FAILED
test remapped_path/remap-path/remap-path-prefix-doctest.rs - SomeStruct (line 19) ... FAILED

failures:

---- remapped_path/remap-path-prefix-doctest.rs - SomeStruct (line 19) stdout ----
---- remapped_path/remap-path/remap-path-prefix-doctest.rs - SomeStruct (line 19) stdout ----
error: this file contains an unclosed delimiter
--> remapped_path/remap-path-prefix-doctest.rs:20:12
--> remapped_path/remap-path/remap-path-prefix-doctest.rs:20:12
|
LL | fn invalid(
| -^
Expand All @@ -18,7 +18,7 @@ error: aborting due to 1 previous error
Couldn't compile the test.

failures:
remapped_path/remap-path-prefix-doctest.rs - SomeStruct (line 19)
remapped_path/remap-path/remap-path-prefix-doctest.rs - SomeStruct (line 19)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

running 1 test
test remapped_path/remap-path-prefix-doctest.rs - SomeStruct (line 19) ... FAILED
test remapped_path/remap-path/remap-path-prefix-doctest.rs - SomeStruct (line 19) ... FAILED

failures:

---- remapped_path/remap-path-prefix-doctest.rs - SomeStruct (line 19) stdout ----
---- remapped_path/remap-path/remap-path-prefix-doctest.rs - SomeStruct (line 19) stdout ----
error: this file contains an unclosed delimiter
--> remapped_path/remap-path-prefix-doctest.rs:20:12
--> remapped_path/remap-path/remap-path-prefix-doctest.rs:20:12
|
LL | fn invalid(
| -^
Expand All @@ -18,7 +18,7 @@ error: aborting due to 1 previous error
Couldn't compile the test.

failures:
remapped_path/remap-path-prefix-doctest.rs - SomeStruct (line 19)
remapped_path/remap-path/remap-path-prefix-doctest.rs - SomeStruct (line 19)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

running 1 test
test remapped_path/remap-path/remap-path-prefix-failed-doctest-output.rs - SomeStruct (line 11) ... FAILED

failures:

---- remapped_path/remap-path/remap-path-prefix-failed-doctest-output.rs - SomeStruct (line 11) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' ($TID) panicked at remapped_path/remap-path/remap-path-prefix-failed-doctest-output.rs:3:1:
oh no
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace



failures:
remapped_path/remap-path/remap-path-prefix-failed-doctest-output.rs - SomeStruct (line 11)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

running 1 test
test /REMAPPED/remap-path-prefix-file.rs - f (line 24) ... ok
test /REMAPPED/remap-path/remap-path-prefix-file.rs - f (line 24) ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

running 1 test
test /REMAPPED/remap-path-prefix-file.rs - f (line 24) ... ok
test /REMAPPED/remap-path/remap-path-prefix-file.rs - f (line 24) ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

running 1 test
test /REMAPPED/remap-path-prefix-file.rs - f (line 24) ... ok
test /REMAPPED/remap-path/remap-path-prefix-file.rs - f (line 24) ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

running 1 test
test remapped_path/remap-path/remap-path-prefix-invalid-doctest.rs - SomeStruct (line 10) ... FAILED

failures:

---- remapped_path/remap-path/remap-path-prefix-invalid-doctest.rs - SomeStruct (line 10) stdout ----
error: expected one of `!` or `::`, found `is`
--> remapped_path/remap-path/remap-path-prefix-invalid-doctest.rs:11:6
|
LL | this is not real code
| ^^ expected one of `!` or `::`

error: aborting due to 1 previous error

Couldn't compile the test.

failures:
remapped_path/remap-path/remap-path-prefix-invalid-doctest.rs - SomeStruct (line 10)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

running 1 test
test remapped_path/remap-path-prefix-passed-doctest-output.rs - SomeStruct (line 11) ... ok
test remapped_path/remap-path/remap-path-prefix-passed-doctest-output.rs - SomeStruct (line 11) ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: file!() = $DIR/remap-path-prefix.rs
--> remapped/remap-path-prefix.rs:21:1
--> remapped/remap-path/remap-path-prefix.rs:21:1
|
LL | compile_error!(concat!("file!() = ", file!()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error: file!() = remapped/remap-path-prefix.rs
error: file!() = remapped/remap-path/remap-path-prefix.rs
--> $DIR/remap-path-prefix.rs:21:1
|
LL | compile_error!(concat!("file!() = ", file!()));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: file!() = remapped/remap-path-prefix.rs
--> remapped/remap-path-prefix.rs:21:1
error: file!() = remapped/remap-path/remap-path-prefix.rs
--> remapped/remap-path/remap-path-prefix.rs:21:1
|
LL | compile_error!(concat!("file!() = ", file!()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading