At the moment, the
should_panic and some related attributes can modify how doctests are run and what their intended behavior is. However, in the generated documentation, there is no indication that the code example panics, besides the "this causes a panic" comment that is typically included. What are people's thoughts on the idea of including some visual indicator that a particular code example panics?
If this seems desirable, what should this indicator look like? The Book uses Ferris for this, although I do not think that would be appropriate for general documentation. My tentative idea right now is to add a small red exclamation mark, but I'm not at all sure this is ideal.