diff options
| author | binarycat <binarycat@envs.net> | 2025-08-17 11:23:19 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-08-21 15:00:01 -0500 |
| commit | 15a8999aedc0e3a0eb7b4e956dd79b3a2f28f2a3 (patch) | |
| tree | f90f5b3f2a36d31de6a6e2551c836800f6f7a5d7 /src/librustdoc/lib.rs | |
| parent | e50fed79a857ccf3ea516fb4d7fdab665b7a573c (diff) | |
| download | rust-15a8999aedc0e3a0eb7b4e956dd79b3a2f28f2a3.tar.gz rust-15a8999aedc0e3a0eb7b4e956dd79b3a2f28f2a3.zip | |
refactor rustdoc::invalid_html_tags tag parser
previously, this lint did not distinguish between `<img` and `<img>`, and since the latter should be accepted under html5, the former was also accepted. the parser now also handles multi-line tags and multi-line attributes.
Diffstat (limited to 'src/librustdoc/lib.rs')
| -rw-r--r-- | src/librustdoc/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 28dbd8ba7d3..62e1ad2444d 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -11,6 +11,7 @@ #![feature(file_buffered)] #![feature(format_args_nl)] #![feature(if_let_guard)] +#![feature(iter_advance_by)] #![feature(iter_intersperse)] #![feature(round_char_boundary)] #![feature(rustc_private)] |
