]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #91209 - camelid:snapshot, r=jyn514
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 4 Dec 2021 01:26:22 +0000 (02:26 +0100)
committerGitHub <noreply@github.com>
Sat, 4 Dec 2021 01:26:22 +0000 (02:26 +0100)
commit420ddd0b7e1912c780a6af514986eb9185ff776b
tree8d7d58b9266b86e63b77d825c0c23757156b3633
parent0bd4ee79e099a75a13396de272278c9ad8192bd5
parentfe88fcfa3909219ab537a6de9213a48fffcce75e
Rollup merge of #91209 - camelid:snapshot, r=jyn514

Implement `@snapshot` check for htmldocck

This form of check allows performing snapshot tests (à la `src/test/ui`)
on rustdoc HTML output, making it easier to create and update tests.

See [this Zulip thread][1] for more information about the motivation for
this change.

[1]: https://zulip-archive.rust-lang.org/stream/266220-rustdoc/topic/HTML.20snapshot.20tests.html#262651142

r? `@GuillaumeGomez`
src/tools/compiletest/src/runtest.rs