-
Notifications
You must be signed in to change notification settings - Fork 1k
wrapping hidden code in doctest corrupts it #3182
Copy link
Copy link
Closed
Labels
A-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEonly-with-optionRequires a non-default option value to reproduceRequires a non-default option value to reproduce
Metadata
Metadata
Assignees
Labels
A-commentsArea: commentsArea: commentsC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICEonly-with-optionRequires a non-default option value to reproduceRequires a non-default option value to reproduce
Type
Fields
Give feedbackNo fields configured for issues without a type.
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_commentsparameter for doctest would be needed to avoid failing builds.