about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-18 15:21:04 -0700
committerGitHub <noreply@github.com>2020-06-18 15:21:04 -0700
commit6c53a0c2b5c73a0ea0750dd6c84298ce9348ecff (patch)
treeb900ed72fa0d4ee9b66c2dd41b164620fe07c6cb /src/test/codegen/src-hash-algorithm
parentf15b346f3adf03a976e9468401e443a3ecb61a71 (diff)
parent721facf29c4ba7bc1d75acafce1b4916d5feafa5 (diff)
downloadrust-6c53a0c2b5c73a0ea0750dd6c84298ce9348ecff.tar.gz
rust-6c53a0c2b5c73a0ea0750dd6c84298ce9348ecff.zip
Rollup merge of #73476 - JakobDegen:should_panic_rustdoc, r=GuillaumeGomez
Added tooltip for should_panic code examples

This change adds a tooltip to the documentation for `should_panic` examples. It currently displays identically to `compile_fail` examples, save for the changed text. It may be helpful to change the color that this displays in to make it visually more clear what is going on, but I'm unsure if additional colors wouldn't just be distracting.

I brought this [up on internals](https://internals.rust-lang.org/t/indicating-that-an-example-is-should-panic-in-docs/12544) a few days ago, and there seemed to be a mild positive response to it.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions