wrapping hidden code in doctest corrupts it #3182
Labels
a-comments
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
For example, the hidden line at https://github.com/rust-lang-nursery/stdsimd/blob/f244bd2a598f1542fceb1767cf62416c3d366934/stdsimd/mod.rs#L211 is wrapped over multiple lines, which fails the execution of the doctest with the following error:
An issue on rustdoc is opened to follow this at rust-lang/rust#55713 but in the meantime disabling the
wrap_comments
parameter for doctest would be needed to avoid failing builds.The text was updated successfully, but these errors were encountered: