You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/testsuite/docscrape.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -350,15 +350,15 @@ fn no_fail_bad_lib() {
350
350
[SCRAPING] foo v0.0.1 ([CWD])
351
351
warning: failed to check lib in package `foo` as a prerequisite for scraping examples from: example \"ex\", example \"ex2\"
352
352
Try running with `--verbose` to see the error message.
353
-
If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml
353
+
If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
354
354
warning: `foo` (lib) generated 1 warning
355
355
warning: failed to scan example \"ex\" in package `foo` for example code usage
356
356
Try running with `--verbose` to see the error message.
357
-
If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml
357
+
If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
warning: failed to scan example \"ex2\" in package `foo` for example code usage
360
360
Try running with `--verbose` to see the error message.
361
-
If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml
361
+
If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]",
@@ -391,7 +391,7 @@ fn no_fail_bad_example() {
391
391
[SCRAPING] foo v0.0.1 ([CWD])
392
392
warning: failed to scan example \"ex1\" in package `foo` for example code usage
393
393
Try running with `--verbose` to see the error message.
394
-
If an example or library should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` or `[lib]` definition in Cargo.toml
394
+
If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
0 commit comments