diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-16 20:00:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-16 20:00:17 +0100 |
| commit | 9451a6132a447ef95384fb4ffa75974a6d05d74d (patch) | |
| tree | d779299668bfdbb3aa8d42b9e0cfa4826ac42bd1 /tests/coverage/branch/lazy-boolean.rs | |
| parent | d03e3c86125314b485318f7dc197c6bba7f1d377 (diff) | |
| parent | c367cc3ef5648d5695fdb795cc66edbff88b4ce9 (diff) | |
| download | rust-9451a6132a447ef95384fb4ffa75974a6d05d74d.tar.gz rust-9451a6132a447ef95384fb4ffa75974a6d05d74d.zip | |
Rollup merge of #134260 - GuillaumeGomez:doctest-attrs, r=notriddle
Correctly handle comments in attributes in doctests source code Fixes https://github.com/rust-lang/rust/issues/134221. The problem was that attributes are "inlined" (backlines are stripped), then when there is an inline comment inside it, the attribute is never considered valid (since unclosed). Fix was to simply put back backlines in case it's a multiline attribute. r? ``@notriddle``
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
