
This prevents the included test case from getting at nightly-only features when run on stable. The harness builds with RUSTC_BOOTSTRAP, but the bundle doesn't.
28 lines
766 B
Text
28 lines
766 B
Text
|
|
running 1 test
|
|
test $DIR/failed-doctest-test-crate.rs - m (line 14) ... FAILED
|
|
|
|
failures:
|
|
|
|
---- $DIR/failed-doctest-test-crate.rs - m (line 14) stdout ----
|
|
error[E0432]: unresolved import `test`
|
|
--> $DIR/failed-doctest-test-crate.rs:15:5
|
|
|
|
|
LL | use test::*;
|
|
| ^^^^ use of unresolved module or unlinked crate `test`
|
|
|
|
|
help: you might be missing a crate named `test`, add it to your project and import it in your code
|
|
|
|
|
LL + extern crate test;
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|
|
Couldn't compile the test.
|
|
|
|
failures:
|
|
$DIR/failed-doctest-test-crate.rs - m (line 14)
|
|
|
|
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
|
|
|