diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-06-04 13:28:57 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-06-04 14:23:35 -0400 |
| commit | 2430ede36e1fba9044b82de9d09e6a71584f1db8 (patch) | |
| tree | 010f6a1692d2b636c61a68a991515fe037dff30e /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | c4c2ab57a43737867982fafc8cfacd9b069fee96 (diff) | |
| download | rust-2430ede36e1fba9044b82de9d09e6a71584f1db8.tar.gz rust-2430ede36e1fba9044b82de9d09e6a71584f1db8.zip | |
rustdoc: Print a warning if the diff when comparing to old nightlies is empty
This avoids confusing situations where it's unclear whether there's a
bug in the diff tool or not:
```
26: @has check failed
`XPATH PATTERN` did not match
// @has - '//code/a[@href="{{channel}}/std/primitive.i32.html"]' 'i32'
Encountered 6 errors
------------------------------------------
info: generating a diff against nightly rustdoc
failures:
[rustdoc] rustdoc/primitive-reexport.rs
```
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
