diff options
| author | Will Crichton <wcrichto@cs.stanford.edu> | 2021-09-21 15:49:36 -0700 |
|---|---|---|
| committer | Will Crichton <wcrichto@cs.stanford.edu> | 2021-10-06 19:45:25 -0700 |
| commit | df5e3a6e40b5e70f3e869f97a7ce800385913c28 (patch) | |
| tree | b7d16a97452cf2e35ccac68cd369d952fa304a28 /src/test/rustdoc-ui | |
| parent | 5c05b3c03da5d37e544589e42fe9738728b27b40 (diff) | |
| download | rust-df5e3a6e40b5e70f3e869f97a7ce800385913c28.tar.gz rust-df5e3a6e40b5e70f3e869f97a7ce800385913c28.zip | |
Change serialized format to use DefPathHash instead of custom String
Move test to rustdoc-ui Fix test writing to wrong directory Formatting Fix test Add FIXME Remove raw multiline strings
Diffstat (limited to 'src/test/rustdoc-ui')
| -rw-r--r-- | src/test/rustdoc-ui/scrape-examples-wrong-options.rs | 1 | ||||
| -rw-r--r-- | src/test/rustdoc-ui/scrape-examples-wrong-options.stderr | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/scrape-examples-wrong-options.rs b/src/test/rustdoc-ui/scrape-examples-wrong-options.rs new file mode 100644 index 00000000000..b18d4715453 --- /dev/null +++ b/src/test/rustdoc-ui/scrape-examples-wrong-options.rs @@ -0,0 +1 @@ +// compile-flags: --scrape-examples-target-crate foobar diff --git a/src/test/rustdoc-ui/scrape-examples-wrong-options.stderr b/src/test/rustdoc-ui/scrape-examples-wrong-options.stderr new file mode 100644 index 00000000000..b4ad28f92da --- /dev/null +++ b/src/test/rustdoc-ui/scrape-examples-wrong-options.stderr @@ -0,0 +1,2 @@ +error: the `-Z unstable-options` flag must also be passed to enable the flag `scrape-examples-target-crate` + |
